#[repr(C)]pub struct TimelineEventRaw {
pub type_: u32,
pub cpu: u32,
pub ts: u64,
pub prev_pid: u32,
pub next_pid: u32,
pub a: u64,
pub b: u64,
}Expand description
Wire-format mirror of struct timeline_event from
src/bpf/intf.h.
Layout pinning: 40 bytes total (4 type + 4 cpu + 8 ts +
4 prev_pid + 4 next_pid + 8 a + 8 b). Order matches the BPF
emit sites in probe.bpf.c::ktstr_tl_switch/migrate/wakeup.
Fields§
§type_: u32§cpu: u32§ts: u64§prev_pid: u32§next_pid: u32§a: u64§b: u64Trait Implementations§
Source§impl Clone for TimelineEventRaw
impl Clone for TimelineEventRaw
Source§fn clone(&self) -> TimelineEventRaw
fn clone(&self) -> TimelineEventRaw
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimelineEventRaw
impl Debug for TimelineEventRaw
Source§impl PartialEq for TimelineEventRaw
impl PartialEq for TimelineEventRaw
impl Copy for TimelineEventRaw
impl Eq for TimelineEventRaw
impl StructuralPartialEq for TimelineEventRaw
Auto Trait Implementations§
impl Freeze for TimelineEventRaw
impl RefUnwindSafe for TimelineEventRaw
impl Send for TimelineEventRaw
impl Sync for TimelineEventRaw
impl Unpin for TimelineEventRaw
impl UnwindSafe for TimelineEventRaw
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more