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

Function SetCrashKeyToStackTrace

src/butil/debug/crash_logging.cc:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void SetCrashKeyToStackTrace(const butil::StringPiece& key,
97 const StackTrace& trace) {
98 size_t count = 0;
99 const void* const* addresses = trace.Addresses(&count);
100 SetCrashKeyFromAddresses(key, addresses, count);
101}
102
103void SetCrashKeyFromAddresses(const butil::StringPiece& key,
104 const void* const* addresses,

Callers

nothing calls this directly

Calls 2

SetCrashKeyFromAddressesFunction · 0.85
AddressesMethod · 0.80

Tested by

no test coverage detected