Re: [GIT PULL] perf updates for v4.1

From: Arnaldo Carvalho de Melo
Date: Thu Apr 16 2015 - 09:11:45 EST


Em Wed, Apr 15, 2015 at 08:48:38PM -0700, Linus Torvalds escreveu:
> On Tue, Apr 14, 2015 at 5:00 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:

> > Please pull the latest perf-core-for-linus git tree from:

> > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-for-linus

> Hmm. I don't seem to get any annotations any more in "perf report".
> There are no error messages, I just get an empty annotation window.

> My test-case is just my usual

> perf record -e cycles:pp make -j

> on a fully built kernel tree, followed by

> perf report -s symbol

> and the percentages and function names look fine, but 'a' doesn't do
> what I expect it to do..

Strange, I tried with:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-for-linus

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

And with my local trees, on:

[acme@zoo linux]$ cat /etc/fedora-release
Fedora release 20 (Heisenbug)

Further details down, but in all those cases pressing 'a' works for me
:-\

- Arnaldo

[acme@linux]$ rpm -q binutils-devel
binutils-devel-2.23.88.0.1-13.fc20.x86_64
[acme@zoo linux]$ rpm -q elfutils-devel
elfutils-devel-0.161-6.fc20.x86_64
[acme@zoo linux]$
[acme@zoo linux]$ which objdump
/usr/bin/objdump
[acme@zoo linux]$ rpm -qf /usr/bin/objdump
binutils-2.23.88.0.1-13.fc20.x86_64
[acme@zoo linux]$

[acme@zoo linux]$ type perf
perf is hashed (/home/acme/bin/perf)
[acme@zoo linux]$ perf --version
perf version 4.0.g34c9a0
[acme@zoo linux]$ git show --oneline 34c9a0 | head -1
34c9a0ffc75a crypto: fix broken crypto_register_instance() module handling
[acme@zoo linux]$ git show --oneline torvalds/master | head -1
34c9a0ffc75a crypto: fix broken crypto_register_instance() module handling
[acme@zoo linux]$
[acme@zoo linux]$ ldd ~/bin/perf
linux-vdso.so.1 => (0x00007ffcfec88000)
libunwind.so.8 => /lib64/libunwind.so.8 (0x00007fd576890000)
libunwind-x86_64.so.8 => /lib64/libunwind-x86_64.so.8 (0x00007fd576671000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd576453000)
librt.so.1 => /lib64/librt.so.1 (0x00007fd57624b000)
libm.so.6 => /lib64/libm.so.6 (0x00007fd575f44000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fd575d3f000)
libelf.so.1 => /lib64/libelf.so.1 (0x00007fd575b29000)
libdw.so.1 => /lib64/libdw.so.1 (0x00007fd5758e3000)
libaudit.so.1 => /lib64/libaudit.so.1 (0x00007fd5756bb000)
libslang.so.2 => /lib64/libslang.so.2 (0x00007fd575342000)
libperl.so.5.18 => /lib64/libperl.so.5.18 (0x00007fd574fae000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fd574d93000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fd574b7a000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fd574943000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007fd57473f000)
libc.so.6 => /lib64/libc.so.6 (0x00007fd574381000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd576ac6000)
libpython2.7.so.1.0 => /lib64/libpython2.7.so.1.0 (0x00007fd573fbb000)
libz.so.1 => /lib64/libz.so.1 (0x00007fd573da4000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fd573b7f000)
libnuma.so.1 => /lib64/libnuma.so.1 (0x00007fd573973000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fd573762000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fd57354c000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007fd5732ce000)
--
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/