code: def stop_tracing(self, tid):
          
          if self.is_tracing(tid):
              thread = self.system.get_thread(tid)
              self.__stop_tracing(thread)
docs: Stop tracing mode in the given thread.
  
          @type  tid: int
          @param tid: Global ID of thread to stop tracing.