Valgrind
valgrind -v --error-limit=no --suppressions=valgrind.suppr --leak-check=full --show-reachable=yes --log-file=cbm_macro_log.txt root.exe run_sim.C
Callgrind
After you run the config.sh to setup the configuration you run do
valgrind --tool=callgrind root.exe digitise_and_HitReco.C
This command will run not verry fast, so to start with it's okay to run with one event.
The command will produce a file callgrind.out.xxxxx with xxxxx as the pid of your process.
The outputfile can be opened using kchachegrind.
kcachegrind callgrind.out.xxxxx
--
FlorianUhlig - 13 Jan 2009