#[non_exhaustive]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,
pub skip_after: Vec<String>,
}Expand description
perf folder configuration options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.annotate_jit: boolAnnotate JIT functions with a _[j] suffix.
Default is false.
annotate_kernel: boolAnnotate 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: boolInclude raw addresses (e.g., 0xbfff0836) where symbols can’t be found.
Default is false.
include_pid: boolInclude PID in the root frame. If disabled, the root frame is given the name of the profiled process.
Default is false.
include_tid: boolInclude TID and PID in the root frame. Implies include_pid.
Default is false.
nthreads: usizeThe number of threads to use.
Default is the number of logical cores on your machine.
skip_after: Vec<String>If a stack function name is equal to any of the specified strings it will omit all the following stackframes for that event. In case no function is matched the whole stack is returned. Default is not omitting any.