set the AS_VERBOSE environment variable to 1 to print every allocation call.
Run directly
nix run github:Sigmapitech/alloc_stats -- lsClone the repository
git clone Sigmapitech/alloc_stats
cd alloc_statsBuild the library
makeRun by using preloading
LD_PRELOAD=liballoc_stats.so ls