pub struct Folder { /* private fields */ }Expand description
A stack collapser for the output of perf script.
To construct one, either use perf::Folder::default() or create an Options and use
perf::Folder::from(options).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Folder
impl Send for Folder
impl Sync for Folder
impl Unpin for Folder
impl UnwindSafe for Folder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Collapse for T where
T: CollapsePrivate,
impl<T> Collapse for T where
T: CollapsePrivate,
sourcefn collapse<R, W>(&mut self, reader: R, writer: W) -> Result<(), Error> where
R: BufRead,
W: Write,
fn collapse<R, W>(&mut self, reader: R, writer: W) -> Result<(), Error> where
R: BufRead,
W: Write,
Collapses the contents of the provided reader and writes folded stack lines to the
provided writer. Read more
sourcefn is_applicable(&mut self, input: &str) -> Option<bool>
fn is_applicable(&mut self, input: &str) -> Option<bool>
Returns whether this implementation is appropriate for the given input. Read more