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

Function TakeStackTrace

be/src/kudu/util/debug-util-test.cc:275–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275int TakeStackTrace(struct dl_phdr_info* /*info*/, size_t /*size*/, void* data) {
276 StackTrace* s = reinterpret_cast<StackTrace*>(data);
277 s->Collect(0);
278 return 0;
279}
280
281// Test that if we try to collect a stack trace while inside a libdl function
282// call that we properly return the bogus stack indicating the issue.

Callers

nothing calls this directly

Calls 1

CollectMethod · 0.45

Tested by

no test coverage detected