Expand description
Companion crate to malloc_freq
. This crate compiles into a dynamic library that can be
loaded via LD_PRELOAD
to intercept malloc
calls issued by the program and redirect them
to the malloc_freq
profiler.
Functions§
- When this library is loaded with
LD_PRELOAD
, thismalloc
implementation catchesmalloc
calls performed by the program and records them in themalloc_freq
profile before invoking the originallibc
malloc.