mz_profTrait StackProfileExt
Source pub trait StackProfileExt {
// Required methods
fn to_mzfg(&self, symbolize: bool, header_extra: &[(&str, &str)]) -> String;
fn to_pprof(
&self,
sample_type: (&str, &str),
period_type: (&str, &str),
anno_key: Option<String>,
) -> Vec<u8> ⓘ;
}
Writes out the .mzfg
format, which is fully described in flamegraph.js.
Converts the profile into the pprof format.
pprof encodes profiles as gzipped protobuf messages of the Profile message type
(see pprof/profile.proto
).