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

Method HandleOutput

src/butil/debug/stack_trace_posix.cc:407–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405 PrintBacktraceOutputHandler() {}
406
407 virtual void HandleOutput(const char* output) OVERRIDE {
408 // NOTE: This code MUST be async-signal safe (it's used by in-process
409 // stack dumping signal handler). NO malloc or stdio is allowed here.
410 PrintToStderr(output);
411 }
412
413 private:
414 DISALLOW_COPY_AND_ASSIGN(PrintBacktraceOutputHandler);

Callers 3

OutputPointerFunction · 0.45
OutputFrameIdFunction · 0.45
ProcessBacktraceFunction · 0.45

Calls 1

PrintToStderrFunction · 0.85

Tested by

no test coverage detected