linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: "linux-perf-users@vger.kernel.org" <linux-perf-users@vger.kernel.org>
Subject: perf report and symbol addresses
Date: Wed, 2 Sep 2015 16:43:24 +0000	[thread overview]
Message-ID: <1441212204.3349.256.camel@transmode.se> (raw)

on PPC I do:
# > perf record -a   /root/a.out

then 
#> perf report -v
...
50.36%        a.out  /root/a.out                                               0x2c4      d [.] main

compare the address 0x2c4 with
#> nm -a a.out  | grep main
         U __libc_start_main@@GLIBC_2.0
100002c0 T main

The perf reported address is lacking 0x10000000.

How do I list the absolut symbol address?

 Jocke

             reply	other threads:[~2015-09-02 16:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02 16:43 Joakim Tjernlund [this message]
2015-09-21 10:57 ` perf report and symbol addresses Michael Petlan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441212204.3349.256.camel@transmode.se \
    --to=joakim.tjernlund@transmode.se \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).