1 2 3 4 5 6 7 8 9
#! /bin/sh export MALLOC_TREE=kminspector.tree export MALLOC_THRESHOLD=2000 export LD_PRELOAD=@LIB_INSTALL_DIR@/kmtrace/libktrace.so $* cat kminspector.tree | less