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

This topic: Homepages > HomepageFlorianUhlig > ValgrindFlorianUhlig
Topic revision: 2009-01-13, FlorianUhlig
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CBM Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)