|
From: Josef W. <Jos...@gm...> - 2006-09-13 11:49:35
|
On Wednesday 13 September 2006 13:33, Josef Weidendorfer wrote:
> On Wednesday 13 September 2006 11:23, Christoph Bartoschek wrote:
> > - Lots of warnings regarding jfi:
> >
> > WARNING: line 44364 malformed, ignoring
> > line: 'jfi=(10) array.h'
Does the following patch help (you can also
apply it to callgrind_annotate directly, without the
".in" suffix).
I just noted that the ignored line also adds an
"ID to filename" mapping, which could be the reason for
subsequent warnings you mentioned.
Josef
===================================================================
--- callgrind_annotate.in (Revision 6052)
+++ callgrind_annotate.in (Arbeitskopie)
@@ -634,6 +634,16 @@
} elsif (s/^(jump|jcnd)=//) {
#ignore jump information
+ } elsif (s/^jfi=(.*)$//) {
+ # side effect needed: possibly add compression mapping
+ uncompressed_name("fl",$1);
+ # ignore jump information
+
+ } elsif (s/^jfn=(.*)$//) {
+ # side effect needed: possibly add compression mapping
+ uncompressed_name("fn",$1);
+ # ignore jump information
+
} elsif (s/^totals:\s+//) {
#ignore
=========================================================
|