record_allocation_event

Function record_allocation_event 

Source
pub fn record_allocation_event(
    task_id: TaskId,
    ptr: usize,
    size: usize,
    timestamp: u64,
    is_allocation: bool,
) -> AsyncResult<()>
Expand description

Record allocation event in current thread’s buffer

High-performance path called from global allocator hook. Optimized for minimal overhead in the allocation fast path.