|
From: <sv...@va...> - 2006-09-13 22:57:43
|
Author: weidendo
Date: 2006-09-13 23:57:38 +0100 (Wed, 13 Sep 2006)
New Revision: 6064
Log:
callgrind_annotate: fix warnings with "--collect-jumps=3Dyes"
This callgrind option produces lines starting e.g. with
"jfi" in the profile data files, which specifies a
source file change between a jump source and jump target.
This itself is meaningless for callgrind_annotate, as
it can not show jump information in its annotation.
However, such "jfi" lines can contain important mapping
info for a (file ID, file name) tuple - which leads to
further warnings and problems if ignored.
Modified:
trunk/callgrind/callgrind_annotate.in
Modified: trunk/callgrind/callgrind_annotate.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/callgrind/callgrind_annotate.in 2006-09-12 23:08:49 UTC (rev 60=
63)
+++ trunk/callgrind/callgrind_annotate.in 2006-09-13 22:57:38 UTC (rev 60=
64)
@@ -634,6 +634,16 @@
} elsif (s/^(jump|jcnd)=3D//) {
#ignore jump information
=20
+ } elsif (s/^jfi=3D(.*)$//) {
+ # side effect needed: possibly add compression mapping=20
+ uncompressed_name("fl",$1);
+ # ignore jump information=09
+
+ } elsif (s/^jfn=3D(.*)$//) {
+ # side effect needed: possibly add compression mapping
+ uncompressed_name("fn",$1);
+ # ignore jump information
+
} elsif (s/^totals:\s+//) {
#ignore
=20
|