MCPcopy Create free account
hub / github.com/apache/impala / DumpThreadStack

Function DumpThreadStack

be/src/kudu/util/debug-util.cc:512–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512string DumpThreadStack(int64_t tid) {
513 StackTrace trace;
514 Status s = GetThreadStack(tid, &trace);
515 if (s.ok()) {
516 return trace.Symbolize();
517 }
518 return strings::Substitute("<$0>", s.ToString());
519}
520
521Status ListThreads(vector<pid_t> *tids) {
522#ifndef __linux__

Callers 2

RunThreadMethod · 0.85
TEST_FFunction · 0.85

Calls 5

GetThreadStackFunction · 0.85
SubstituteFunction · 0.85
SymbolizeMethod · 0.80
okMethod · 0.45
ToStringMethod · 0.45

Tested by 1

TEST_FFunction · 0.68