This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Andrei Soare (author)
Fri Aug 15 17:18:56 -0700 2008
commit 7d3ce7e275d385ab85994f1f2c4d9d2f07289bec
tree e7c2cb8e0d0d78990de9be9b1e8470b61a1bcbd1
parent c07753b1a1cf6459944582c8ec55ee1542d201a8
tree e7c2cb8e0d0d78990de9be9b1e8470b61a1bcbd1
parent c07753b1a1cf6459944582c8ec55ee1542d201a8
bprof /
| name | age | message | |
|---|---|---|---|
| |
Makefile | ||
| |
README | ||
| |
_gnuplot.conf | ||
| |
alloc_lifespan.sh | ||
| |
fragmentation.c | ||
| |
free_size.c | ||
| |
memview.py | ||
| |
most_allocated.sh | ||
| |
most_allocations.sh | ||
| |
ms_main.c | ||
| |
my_gmalloc_hook.c | ||
| |
my_malloc_hook.c |
README
This readme contains a short description of all the tools in this project: -------------------------------------- my_malloc_hook.c and my_gmalloc_hook.c These are the hooks I use to get data about all the allocations while running a specific program. After "making" them, they are used like this: LD_PRELOAD=my_malloc_hook.so program The outpul file(s) will be created in /tmp -------------------------------------- free_size.c This tool is used to find the sizes of all deallocations from my_malloc_hook and my_gmalloc_hook's output. It is called like this: free_size input_file output_file -------------------------------------- most_allocations.sh and most_allocated.sh Theese tools are based on valgrind's output and determine which lines of code generate the most allocations during the execution of a program and which functions allocate the most memory, respectively. They are called like this: most_allocations.sh program and most_allocated.sh program -------------------------------------- memview.py This tool generates images based on free_size's output. It is called without any arguments, but in the current folder there must be a file called trace-out.txt, which is the input file. --------------------------------------








