Good afternoon, We are running callgrind and cg_annotate version 3.6.1 on Centos Linux Version 5.5 x86_32. One month ago Mr. Josef Weidenorfer issued a special patch that fixed callgrind on Centos Linux Version 5.5 x86_32. We can now profile complex C++ programs which use our own shared library libmdMatchup.so. However, when we use version 3.6.1 cg_annotate callgrind.out.22533 --auto = yes -I/home/frankc/DQTTest6/MatchUpLib/Source, we obtain the error. Line 1 Missing command line. callgrind.out.22533 was created using the command line: /home/frankc/DQTTest2/valgrind-3.6.1/coregrind/valgrind --tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes ./MatchUpAccurate.exe. MatchUpAccurate.exe uses a special shared library libmdMatchup.so Could some engineer or programmer please tell us what we are doing wrong in using callgrind and cg_annotate? Please let us know if other programmers/developers have been able to use cg_annotate version 3.6.1 on Centos Linux Version 5.5 x86_32. I am including the top 50 lines of Callgrind.out.22533 below in case you have time to look at our problem. Thank you. version: 1 creator: callgrind-3.6.1 pid: 22533 cmd: ./MatchUpAccurate.exe part: 1
desc: I1 cache: 16384 B, 32 B, 8-way associative desc: D1 cache: 8192 B, 64 B, 4-way associative desc: LL cache: 524288 B, 64 B, 8-way associative desc: Timerange: Basic block 0 - 10444424808 desc: Trigger: Program termination positions: instr line events: Ir Dr Dw I1mr D1mr D1mw ILmr DLmr DLmw summary: 51414468282 24200786461 13006654839 651776228 364795898 154843814 202585 5324012 59432151 ob=(10) /home/frankc/DQTTest6/MatchUpTest/lirh5g_deb/MatchUpAccurate.exe fl=(20) /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iostream fn=(8384) __tcf_0 0x804e2d8 76 1 0 1 1 0 0 1 +1 * 1 +2 * 1 0 1 +1 * 1 +3 * 1 0 1 1 cfi=(14) ??? cfn=(1026) 0x0804f422 calls=1 0x804f422 -76 * * 2 2 +5 * 1 +6 * 1 +6 * 1 0 1 +3 * 1 0 1 cob=(7) /usr/lib/libstdc++.so.6.0.8 cfi=(7) ??? cfn=(8390) std::ios_base::Init::~Init() calls=1 0x3e30b70 -76 * * 26 12 8 5 3 0 4 3 cob=(1) /lib/ld-2.5.so cfi=(1) ??? cfn=(176) _dl_runtime_resolve calls=1 0xae7440 -76 * * 1428 508 202 3 40 5 0 16 3 * * 5 3 2 1 2 +5 * 1 +3 * 1 1 +1 * 1 1 +1 * 1 1 fl=(27) /usr/include/sys/stat.h fn=(1290) fstat 0x80517e8 448 18 0 18 18 0 0 3 +1 * 18 +2 * 18 0 18
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos