Re: [PROBLEM] perf report is broken in latest linus git

From: Pekka Enberg
Date: Thu Aug 13 2009 - 08:02:29 EST


On Thu, 2009-08-13 at 13:33 +0200, Peter Zijlstra wrote:
> > > Perhaps it's this commit:
> > >
> > > 4d1e00a: perf symbol: Fix symbol parsing in certain cases: use the build-id as a symlink
> > >
> > > it does not revert cleanly, so you might want to check out these two
> > > commits:
> > >
> > > 4d1e00a
> > > 4d1e00a~1
> > >
> > > and build perf on both, and check with your anomalous perf.data
> > > (without changing it) whether the output makes most sense.
> >
> > The commit seems fine. Like I said, the perf.data file is busted even
> > with 2.6.31-rc4 userspace so I think it's a kernel bug.
>
> Hrmm, does a -tip kernel work as expected? I'll go audit the kernel
> changes between -rc4 and -rc5.

tip/master seems to be broken too:

penberg@penberg-laptop:~/testing/jato$ perf report
# Samples: 65806
#
# Overhead Command Shared Object Symbol
# ........ ....... ....................................... ......
#
64.31% perf /home/penberg/bin/perf [.] strlist__load
3.10% perf /home/penberg/bin/jato [.] 0x0000000000c6e8
1.61% perf [kernel] [k] get_page_from_freelist
1.13% perf /lib/tls/i686/cmov/libc-2.8.90.so [.] _int_malloc
1.11% perf /lib/tls/i686/cmov/libpthread-2.8.90.so [.] 0x00000000012532
1.08% perf /lib/tls/i686/cmov/libc-2.8.90.so [.] _fitoa
0.96% perf a7d23660 [.] 0x000000a7d23660
0.86% perf /lib/tls/i686/cmov/libc-2.8.90.so [.] ____strtold_l_internal
0.85% perf /usr/lib/libz.so.1.2.3.3 [.] 0x0000000000eef2
0.83% perf /lib/tls/i686/cmov/libc-2.8.90.so [.] __GI_strcmp
0.74% perf /home/penberg/bin/jato [.] zalloc
0.69% perf [kernel] [k] scsi_dispatch_cmd
0.66% perf /lib/tls/i686/cmov/libc-2.8.90.so [.] getsubopt
0.56% perf /lib/tls/i686/cmov/libc-2.8.90.so [.] __realpath
0.50% perf /usr/lib/libzip.so.1.0.0 [.] _zip_get_name

penberg@penberg-laptop:~/src/linux/tools/perf$ git log|head -10
commit d1fa7782b090a3ab0f55c9003d7315b5f0f5e9d6
Merge: e93673b... daac07b...
Author: Ingo Molnar <mingo@xxxxxxx>
Date: Thu Aug 13 10:37:33 2009 +0200

Merge branch 'perfcounters/urgent'

commit daac07b2e6b77f1bd44104aa2f0593e5505f27d4
Author: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Date: Thu Aug 13 10:27:19 2009 +0200

Pekka


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/