#[repr(C)]pub struct TraceBase {
pub end: AtomicU64,
pub start: u64,
}
Expand description
The base structure for a trace object.
Fields§
§end: AtomicU64
The end point for valid data. The kernel will update this and submit a thread_sync wakeup when writing trace data to this object.
start: u64
The start point of valid data in this object. This is set by the kernel during initialization and then not updated again.
Implementations§
Auto Trait Implementations§
impl !Freeze for TraceBase
impl ObjSafe for TraceBase
impl RefUnwindSafe for TraceBase
impl Send for TraceBase
impl Sync for TraceBase
impl Unpin for TraceBase
impl UnwindSafe for TraceBase
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