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

Method Addresses

src/butil/debug/stack_trace.cc:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24const void *const *StackTrace::Addresses(size_t* count) const {
25 *count = count_;
26 if (count_)
27 return trace_;
28 return NULL;
29}
30
31size_t StackTrace::CopyAddressTo(void** buffer, size_t max_nframes) const {
32 size_t nframes = std::min(count_, max_nframes);

Callers 4

TEST_FFunction · 0.80
CheckDebugOutputToStreamFunction · 0.80
FlushWithoutResetMethod · 0.80
SetCrashKeyToStackTraceFunction · 0.80

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.64
CheckDebugOutputToStreamFunction · 0.64