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

Function stack_trace

src/bthread/bthread.cpp:180–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void stack_trace(std::ostream& os, bthread_t tid) {
181 TaskControl* c = get_task_control();
182 if (NULL == c) {
183 os << "TaskControl has not been created";
184 return;
185 }
186 c->stack_trace(os, tid);
187}
188
189std::string stack_trace(bthread_t tid) {
190 TaskControl* c = get_task_control();

Callers 3

spin_and_log_traceFunction · 0.85
repeated_sleep_traceFunction · 0.85
print_taskFunction · 0.85

Calls 2

stack_traceMethod · 0.80
get_task_controlFunction · 0.70

Tested by 2

spin_and_log_traceFunction · 0.68
repeated_sleep_traceFunction · 0.68