Home | History | Annotate | Download | only in system

Lines Matching refs:stack

29 """Simple routines for logging, obtaining thread stack information."""
37 stack = _find_thread_stack(thread_id)
38 assert(stack is not None)
41 _log_stack(logger, stack)
46 """Returns a stack object that can be used to dump a stack trace for
48 for tid, stack in sys._current_frames().items():
50 return stack
54 def _log_stack(logger, stack):
55 """Log a stack trace to the logger callback."""
56 for filename, lineno, name, line in traceback.extract_stack(stack):
63 stack = traceback.extract_tb(tb)
64 for frame_str in traceback.format_list(stack):