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

Method GetOwnerThreadInfo

be/src/kudu/util/mutex.cc:152–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152string Mutex::GetOwnerThreadInfo() const {
153 string str = Substitute("Owner tid: $0; Self tid: $1; ", owning_tid_, Env::Default()->gettid());
154 if (FLAGS_debug_mutex_collect_stacktrace) {
155 SubstituteAndAppend(&str, "Owner stack:\n$0", stack_trace_->Symbolize());
156 } else {
157 str += "To collect the owner stack trace, enable the flag --debug_mutex_collect_stacktrace";
158 }
159 return str;
160}
161
162#endif
163

Callers

nothing calls this directly

Calls 5

SubstituteFunction · 0.85
DefaultClass · 0.85
SubstituteAndAppendFunction · 0.85
gettidMethod · 0.80
SymbolizeMethod · 0.80

Tested by

no test coverage detected