Skip to content

Sigmapitech/alloc_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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