linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf record always record the same kernel symbol
@ 2013-05-10 19:04 Chao Xu
  2013-05-10 19:12 ` David Ahern
  0 siblings, 1 reply; 4+ messages in thread
From: Chao Xu @ 2013-05-10 19:04 UTC (permalink / raw)
  To: linux-perf-users

Hi,

I issued the following commands:
sudo perf record sleep 1
sudo perf report

Here is a snippet from the output of perf report:
# Samples: 8  of event 'cycles'
# Event count (approx.): 1609581
#
# Overhead  Command      Shared Object  Symbol
# ........  .......  .................  ......
#
   100.00%    sleep  [kernel.kallsyms]  [k] 0xffffffff81043fea

I also tried to record other commands such as dd, ping, the symbol
showed in the output is always "[k] 0xffffffff81043fea", and this was
the only kernel symbol. I checked /proc/kallsyms, this symbol did not
exist in the file.

I built my kernel from linux source tree with the default config. I
tried on both 3.9.0 and 3.9.1. I built perf from
linux-source-tree/tools/perf with a simple "make".

Could someone suggest where did I go wrong? Thanks a bunch.
--
Regards,
Chao Xu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-10 20:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10 19:04 perf record always record the same kernel symbol Chao Xu
2013-05-10 19:12 ` David Ahern
     [not found]   ` <CAKZq+rcx8qAmU8ZW8QTcrw3sd28-_5kbo6e5qXZuKqSAjYEm2Q@mail.gmail.com>
2013-05-10 20:22     ` David Ahern
2013-05-10 20:43   ` Chao Xu

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).