diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-04-21 08:21:01 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-04-21 08:23:15 -0400 |
commit | 3b46e105bd781d7a4081068a14668334a7c82986 (patch) | |
tree | ed2f13f5b31f56f7b2ed90e08c14ba5882c8c785 /util/.gitignore | |
parent | 515491334cc32d8be856f25b7d2e36e63cb72246 (diff) |
[util] Import my malloc wrapper that prints simple statistics
To build, do:
make malloc-stats.so
inside util/, and to use, run:
LD_PRELOAD=malloc-stats.so some-program
For binaries managed by libtool, eg, cairo-perf, do:
../libtool --mode=execute /bin/true ./cairo-perf
LD_PRELOAD="../util/malloc-stats.so" .libs/lt-cairo-perf
The code also includes Jeff Muizelaar's libbacktracesymbols that
is a much better implementation of backtrace_symbols() than what
is provided by glibc. That can be built by:
make backtrace-symbols.so
Diffstat (limited to 'util/.gitignore')
-rw-r--r-- | util/.gitignore | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/util/.gitignore b/util/.gitignore new file mode 100644 index 000000000..aa0e19b55 --- /dev/null +++ b/util/.gitignore @@ -0,0 +1,17 @@ +.deps +.libs +Makefile +Makefile.in +*.so +*.la +*.lo +*.loT +*.o +*.obj +*.pdb +*.dll +*.exp +*.lib +*~ +.*.sw? +TAGS |