Function pprof::flamegraph::from_reader[][src]

pub fn from_reader<R, W>(
    opt: &mut Options<'_>,
    reader: R,
    writer: W
) -> Result<(), Error> where
    R: Read,
    W: Write
Expand description

Produce a flame graph from a reader that contains a sequence of folded stack lines.

See [from_sorted_lines] for the expected format of each line.

The resulting flame graph will be written out to writer in SVG format.