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

Method Print

src/butil/debug/stack_trace_posix.cc:806–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804}
805
806void StackTrace::Print() const {
807 // NOTE: This code MUST be async-signal safe (it's used by in-process
808 // stack dumping signal handler). NO malloc or stdio is allowed here.
809
810#if !defined(__UCLIBC__)
811 PrintBacktraceOutputHandler handler;
812 ProcessBacktrace(trace_, count_, &handler);
813#endif
814}
815
816#if !defined(__UCLIBC__)
817void StackTrace::OutputToStream(std::ostream* os) const {

Callers 2

StackDumpSignalHandlerFunction · 0.45
CheckForLeaksMethod · 0.45

Calls 1

ProcessBacktraceFunction · 0.85

Tested by

no test coverage detected