Valgrind: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Revision as of 13:17, 21 April 2007
Valgrind is an suite of tools for debugging and profiling Linux programs.
The Callgrind tools allow to profile a program.
When it is used with "--dump-instr=yes --trace-jump=yes" and the result is displayed with [1], you could see :
- function call tracing - executed calltree graphing - jmp tracing and graphing
Exemple
$ valgrind --tool=callgrind --dump-instr=yes --trace-jump=yes ffplay $ kcachegrind callgrind.$pid