Function pprof::flamegraph::from_readers[][src]

pub fn from_readers<R, W>(
    opt: &mut Options<'_>,
    readers: R,
    writer: W
) -> Result<(), Error> where
    W: Write,
    R: IntoIterator,
    <R as IntoIterator>::Item: Read

Produce a flame graph from a set of readers that contain 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.