pub struct OnSample {
pub aux: Option<AuxTracer>,
pub sigtrap: Option<SigData>,
}
Expand description
The action to perform when generating the sample record.
Fields§
§aux: Option<AuxTracer>
§sigtrap: Option<SigData>
Enables synchronous signal delivery of SIGTRAP
to the target
process on event overflow.
Same as Opts::sigtrap_on_sample
,
but for sibling events.
Since linux-5.13
: https://github.com/torvalds/linux/commit/97ba62b278674293762c3d91f724f1bb922f04e0
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OnSample
impl RefUnwindSafe for OnSample
impl Send for OnSample
impl Sync for OnSample
impl Unpin for OnSample
impl UnwindSafe for OnSample
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