pub struct Read {
pub pid: u32,
pub tid: u32,
pub values: ReadValue,
}
Expand description
READ events happen when the kernel records the counters on its own.
This only happens when inherit_stat
is enabled.
This struct corresponds to PERF_RECORD_READ
. See the manpage for more
documentation.
Fields§
§pid: u32
The process ID.
tid: u32
The thread ID.
values: ReadValue
The value read from the counter during task switch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Read
impl RefUnwindSafe for Read
impl Send for Read
impl Sync for Read
impl Unpin for Read
impl UnwindSafe for Read
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