[][src]Struct inferno::collapse::perf::Options

pub struct Options {
    pub annotate_jit: bool,
    pub annotate_kernel: bool,
    pub event_filter: Option<String>,
    pub include_addrs: bool,
    pub include_pid: bool,
    pub include_tid: bool,
    pub nthreads: usize,
}

perf folder configuration options.

Fields

annotate_jit: bool

Annotate JIT functions with a _[j] suffix.

Default is false.

annotate_kernel: bool

Annotate kernel functions with a _[k] suffix.

Default is false.

event_filter: Option<String>

Only consider samples of the given event type (see perf list). If this option is set to None, it will be set to the first encountered event type.

Default is None.

include_addrs: bool

Include raw addresses (e.g., 0xbfff0836) where symbols can't be found.

Default is false.

include_pid: bool

Include PID in the root frame. If disabled, the root frame is given the name of the profiled process.

Default is false.

include_tid: bool

Include TID and PID in the root frame. Implies include_pid.

Default is false.

nthreads: usize

The number of threads to use.

Default is the number of logical cores on your machine.

Trait Implementations

impl Clone for Options[src]

impl Debug for Options[src]

impl Default for Options[src]

impl From<Options> for Folder[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.