pub struct CallChain {
pub exclude_user: bool,
pub exclude_kernel: bool,
pub max_stack_frames: u16,
}
Expand description
Call chain options.
Fields§
§exclude_user: bool
Exclude user call chains.
exclude_kernel: bool
Exclude kernel call chains.
max_stack_frames: u16
How many stack frames to report when generating the call chain.
The maximum frames is specified in /proc/sys/kernel/perf_event_max_stack
.
Since linux-4.8
: https://github.com/torvalds/linux/commit/97c79a38cd454602645f0470ffb444b3b75ce574
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallChain
impl RefUnwindSafe for CallChain
impl Send for CallChain
impl Sync for CallChain
impl Unpin for CallChain
impl UnwindSafe for CallChain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more