pub struct LockEvent {
pub timestamp: Timestamp,
pub pid: Pid,
pub tid: Tid,
pub lock_addr: u64,
pub hold_time_ns: u64,
pub wait_time_ns: u64,
pub stack_trace: StackTrace,
pub comm: String,
pub stack_symbols: Vec<Option<String>>,
}Expand description
Lock contention event
Fields§
§timestamp: Timestamp§pid: Pid§tid: Tid§lock_addr: u64§hold_time_ns: u64§wait_time_ns: u64§stack_trace: StackTrace§comm: String§stack_symbols: Vec<Option<String>>Pre-resolved symbol names for stack_trace IPs (parallel array, same length)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LockEvent
impl<'de> Deserialize<'de> for LockEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LockEvent
impl RefUnwindSafe for LockEvent
impl Send for LockEvent
impl Sync for LockEvent
impl Unpin for LockEvent
impl UnsafeUnpin for LockEvent
impl UnwindSafe for LockEvent
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