pub struct Read {
pub record_id: Option<RecordId>,
pub task: Task,
pub stat: Stat,
}
Expand description
Inherited task statistics.
This allows a per-task stat on an inherited process hierarchy.
NOTE: This record can be genreated by enabling inherit
and remove_on_exec
if there is an execve call in the target process. But triggering it by exiting
task seems broken, we may need to debug the kernel implementation to find out
why, so there is no example for this record now. This situation can also be
reproduced by perf record -s
and perf report -T
commands, which share the
same perf attr as our test case.
Fields§
§record_id: Option<RecordId>
Record IDs.
task: Task
Task info.
stat: Stat
Counter statistics from the inherited task.
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