macro_rules! set_task_tracking_allocator {
() => { ... };
}
Expand description
Set the global allocator to use task tracking
This macro must be called at the crate root to enable task-aware memory tracking for all allocations in the application.
Example:
use memscope_rs::set_task_tracking_allocator;
set_task_tracking_allocator!();