tree: ee4be009104157436ef0bd8e3d7376c6c3c4de47 [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.