#[repr(C)]pub struct TraceRecord {}Expand description
One kernel trace event, as returned by SYS_TRACE_READ.
This is the stable ABI mirror of the kernel’s internal TraceEvent.
Fields§
§seq: u64Monotonic global sequence number (orders events across CPUs).
ticks: u64Scheduler ticks at the time of the event.
cpu: u16CPU index.
kind: u16Event kind (TraceKind in the kernel).
reserved: u32Reserved, zero.
category: u64Category bitmask that produced this event.
flags: u64Event-specific flags.
task_id: u64Kernel task id.
pid: u32Process id (0 = kernel task/unknown).
tid: u32Thread id (0 = unknown).
cr3: u64Address-space CR3 (0 for non-memory events).
rip: u64Instruction pointer.
vaddr: u64Virtual address / primary payload.
arg0: u64First generic argument.
arg1: u64Second generic argument.
Trait Implementations§
Auto Trait Implementations§
impl Forget for TraceRecord
impl Freeze for TraceRecord
impl Move for TraceRecord
impl RefUnwindSafe for TraceRecord
impl Send for TraceRecord
impl Sync for TraceRecord
impl Unpin for TraceRecord
impl UnsafeUnpin for TraceRecord
impl UnwindSafe for TraceRecord
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