[Kcachegrind-callgrind] can not get partial dumps of profile data
Status: Beta
Brought to you by:
weidendo
From: Giovanni S. <gsa...@fu...> - 2006-03-09 15:07:39
|
Hi I am using callgrind 0.9.11 (valgrind-2.2.0) to profile a C++ test application that comprises 4 steps, I would like to selectively collect profile data only = when the application runs the method: =20 IncrementalTester::step4(void) =20 The application is compiled with gcc 2.95.3. I have tried the following: =20 callgrind -v --log-file=3DreflTestIncrement --num-callers=3D20 --simulate-cache=3Dno --cacheuse=3Dno --dump-before=3DIncrementalTester::step4 --dump-after=3DIncrementalTester::step4 incremental_tester.exe parameters.txt =20 but I still get one single profile dump file callgrind.out.xxxxx, with = the whole run in it. I also tried =20 callgrind -v --log-file=3DreflTestIncrement --num-callers=3D20 --simulate-cache=3Dno --cacheuse=3Dno --collect-atstart=3Dno --toggle-collect=3D IncrementalTester::step4 incremental_tester.exe parameters.txt =20 but still no success. Furthermore the option --dumpat=3D<funct> is not = valid for this version. Any help to solve this is highly appreciated. =20 Best regards =20 Giovanni Sartoni =20 |