tree: ac93a45204806802493e6c91351bf8e1598b58fa [search]
  1. pprof-os.c
  2. pprof-write.c
  3. pprof.c
  4. pprof.h
  5. readme.md
  6. sample-guarded.c
  7. sample-profile.c
src/profile/readme.md

Allocation Sampling and Profiling

  • sample-profile.c: Allocation sampling, profiler callbacks.
  • sample-guarded.c: Sampled allocations protected by guard pages.
  • pprof.c: Default heap profiler implementation with stack traces and pprof-compatible text or protobuf snapshots.
  • pprof-os.c: OS specific primitives of the profiler: backtraces, wall-clock time, snapshot files, and loaded modules.
  • pprof-write.c: Writing profiler snapshots in the pprof text or protobuf format.
  • pprof.h: Private declarations shared by the profiler modules.