Skip to content

Sigmapitech/alloc_stats

Repository files navigation

Alloc stat

demo

Usage

set the AS_VERBOSE environment variable to 1 to print every allocation call.

using Nix

Run directly

nix run github:Sigmapitech/alloc_stats -- ls

without Nix

Clone the repository

git clone Sigmapitech/alloc_stats
cd alloc_stats

Build the library

make

Run by using preloading

LD_PRELOAD=liballoc_stats.so ls