MCPcopy Create free account
hub / github.com/apache/brpc / bthread_all

Function bthread_all

tools/lldb_bthread_stack.py:257–267  ·  view source on GitHub ↗

r"""print all bthread frames

(debugger, command, result, internal_dict)

Source from the content-addressed store, hash-verified

255
256
257def bthread_all(debugger, command, result, internal_dict):
258 r"""print all bthread frames"""
259 if not global_state.started:
260 print("Not in bthread debug mode")
261 return
262
263 bthreads = global_state.bthreads
264 bthread_num = len(bthreads)
265 for i in range(bthread_num):
266 bthread_frame(debugger, str(i), result, internal_dict)
267 debugger.HandleCommand("bt")
268
269
270def bthread_meta(debugger, command, result, internal_dict):

Callers

nothing calls this directly

Calls 1

bthread_frameFunction · 0.85

Tested by

no test coverage detected