icefox / callgrind_tools
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
45c77ec
Benjamin Meyer (author)
Fri Dec 07 07:39:23 -0800 2007
commit 45c77ec417719bcfeec73d3103c3843993aea855
tree 517b5135865bee40001c247316126cb3f2224292
parent 230d4932226b80e4f09ce422affb7e8bd729a9f1 parent cf1beb92a4e57ef3bdcc56148108b2e916bdb869
tree 517b5135865bee40001c247316126cb3f2224292
parent 230d4932226b80e4f09ce422affb7e8bd729a9f1 parent cf1beb92a4e57ef3bdcc56148108b2e916bdb869
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README | ||
| |
callgrind_coverage/ | ||
| |
callgrind_decompress/ | ||
| |
callgrind_info/ | ||
| |
callgrind_tools.pro |
README
callgrind_tools is a collection of tools to help manipulate callgrind files generated by valgrind's tools
callgrind_decompress
Callgrind files are compressed by default. To make it easier to read the
callgrind files it is usefull to turn off the compression. You can do this
with the valgrind options "--compress-strings=no --compress-pos=no" or you
can use this tool if you already have a compressed file. For more
information about the compression see the valgrind documentation.
Example:
./callgrind_decompress callgrind.out.111 -o callgrind.out.111.u
callgrind_info
A small tool to extract information out of a callgrind file.
Examples:
// list all functions in file foo.h
./callgrind_info callgrind.out.10 -functions foo.h
// output the cost for function doFoo
./callgrind_info callgrind.out.10 -cost Bar::doFoo
// output all fe objects in the callgrind file
./callgrind_info callgrind.out.10 -spec fe
callgrind_coverage
Given a callgrind file and a source file, callgrind_coverage will output
the code coverage of the callgrind file over the source file including
jumps. Make sure when using valgrind you use --collect-jumps=yes
More information about callgrind can be found on the valgrind website: http://valgrind.org
========
BUILDING
========
callgrind_tools requires rpp to build so first use git to clone its repository and then you can build.
git clone git://repo.or.cz/rpp.git
qmake
make

