pub struct AllocEvent {
pub kind: &'static str,
pub ptr: u64,
pub size: usize,
pub file: String,
pub line: u32,
pub function: String,
}Expand description
An allocation event with the source location already resolved by the probe. Resolving at the probe side avoids ASLR/DWARF mismatch issues on macOS.
Fields§
§kind: &'static str§ptr: u64§size: usize§file: String§line: u32§function: StringTrait Implementations§
Source§impl Debug for AllocEvent
impl Debug for AllocEvent
Auto Trait Implementations§
impl Freeze for AllocEvent
impl RefUnwindSafe for AllocEvent
impl Send for AllocEvent
impl Sync for AllocEvent
impl Unpin for AllocEvent
impl UnsafeUnpin for AllocEvent
impl UnwindSafe for AllocEvent
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