pub fn dump_pprof() -> Result<Vec<u8>, DumpError>Expand description
The heap profile in pprof’s protobuf format, uncompressed (pprof
reads both plain and gzipped files). Its sample types follow Go’s heap
profiles: alloc_objects, alloc_space, inuse_objects and
inuse_space, the default.
§Errors
DumpError::NotActivated when profiling was never activated.