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

Function DumpThreadStack

src/kudu/util/debug-util.cc:511–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

RunThreadMethod · 0.85
TEST_FFunction · 0.85

Calls 5

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

Tested by 1

TEST_FFunction · 0.68