pub enum Inherit {
NewChild,
NewThread,
}
Expand description
Controls the inherit behavior.
Variants§
NewChild
New child tasks will inherit the counter.
This indicates if the process we monitoring creates new tasks (child process or thread), the counter will count events that happens in these tasks.
This applies only to new children, not to any existing children at the time the counter is created (nor to any new children of existing children).
NewThread
Same as NewChild
, but only new threads will inherit the counter.
Since linux-5.13
: https://github.com/torvalds/linux/commit/2b26f0aa004995f49f7b6f4100dd0e4c39a9ed5f
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inherit
impl RefUnwindSafe for Inherit
impl Send for Inherit
impl Sync for Inherit
impl Unpin for Inherit
impl UnwindSafe for Inherit
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