in rocks the ruby script that fires the simulation
search for valgrind and at the end of the file,
elsif @@valgrind # uses fast bochs
system("valgrind --leak-check=yes "+@@root+"/bochs/"+BochsConfig.binName +
" "+BochsConfig.getCommandLineOptions)
This will have the valgrind work with leak-check
but if we change the leak-chcek with --tool=callgrind, it should work with callgrind.
To see the call graph, use
kcachegrind callgrind.out.14912
kcachegrind is already installed in the csl machines.
Thursday, May 20, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment