core: add a callstack collector

Operating Systems / OSv - Avi Kivity [cloudius-systems.com] - 28 July 2013 05:39 UTC

The collector can attach to a tracepoint and collect backtraces; later the traces can be dumped as a histogram.

805ffcb core: add a callstack collector
build.mk | 1 +
core/callstack.cc | 161 ++++++++++++++++++++++++++++++++++++++++++++++
include/osv/callstack.hh | 95 +++++++++++++++++++++++++++
3 files changed, 257 insertions(+)

Upstream: github.com


  • Share