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
bprof /
| name | age | message | |
|---|---|---|---|
| |
Makefile | Wed Jul 30 05:35:12 -0700 2008 | |
| |
README | Thu Aug 14 05:17:54 -0700 2008 | |
| |
_gnuplot.conf | Wed Aug 06 03:30:24 -0700 2008 | |
| |
alloc_lifespan.sh | Thu Aug 14 05:17:54 -0700 2008 | |
| |
fragmentation.c | Wed Aug 06 03:30:24 -0700 2008 | |
| |
free_size.c | Fri Aug 15 17:18:56 -0700 2008 | |
| |
memview.py | Fri Aug 15 17:18:56 -0700 2008 | |
| |
most_allocated.sh | Sat Jun 28 14:58:20 -0700 2008 | |
| |
most_allocations.sh | Tue Jul 08 14:39:35 -0700 2008 | |
| |
ms_main.c | Thu Aug 14 05:17:54 -0700 2008 | |
| |
my_gmalloc_hook.c | Thu Aug 14 05:17:54 -0700 2008 | |
| |
my_malloc_hook.c | Thu Aug 14 05:17:54 -0700 2008 |
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. --------------------------------------







