def do_GET(self): # pylint: disable=invalid-name """Return all thread stacktraces information for GET request.""" self.send_response(200) self.send_header('Content-Type', 'text/plain') self.end_headers() self.wfile.write(thread_dump().encode('utf-8'))
def wrapped_method_for_test(): threaddump = worker_status.thread_dump() self.assertRegex(threaddump, '.*wrapped_method_for_test.*')
def _log_full_thread_dump(self): # type: () -> None thread_dump()
def _log_full_thread_dump(self): thread_dump()