linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf trace cannot work with software events ?
@ 2011-03-26  8:04 zhao bao
  2011-03-26  9:28 ` Lin Ming
  0 siblings, 1 reply; 21+ messages in thread
From: zhao bao @ 2011-03-26  8:04 UTC (permalink / raw)
  To: linux-perf-users

 Hi,  I want to trace page faults in my program. The result I wanted like this:
 1st page fault at addrA.
 2nd page fault at addrB.
 3rd page fault at addrC
 ...

 Perf seems providing this function, but I can't get what I want.
 I use Perf on Fedora 14(kernel 2.6.35). The following is what I have
done in my machine.
Thanks for help in advance.

[root@localhost lab]# perf record -R -c 1  -d  -e  faults ./hello
hello,world
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.010 MB perf.data (~418 samples) ]

[root@localhost lab]# perf trace
  Fatal: no event_list!

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

end of thread, other threads:[~2011-04-18 19:26 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-26  8:04 perf trace cannot work with software events ? zhao bao
2011-03-26  9:28 ` Lin Ming
     [not found]   ` <AANLkTi=VrazJpV+dpzX2hWJ8dYDgbdo_5FAOMRYRo0GD@mail.gmail.com>
2011-03-26 12:31     ` Fwd: " zhao bao
2011-03-26 13:13       ` David Ahern
2011-03-26 14:00         ` zhao bao
2011-03-26 14:23           ` David Ahern
2011-03-26 16:13             ` zhao bao
2011-03-27  3:59               ` David Ahern
2011-03-27  7:44                 ` zhao bao
2011-03-27 21:09                   ` David Ahern
2011-03-29 15:48                     ` zhao bao
2011-03-29 16:55                       ` baozhao
2011-03-29 20:05                         ` David Ahern
2011-04-18  3:43                           ` perf trace Kumar Ranjit-B04060
2011-04-18  6:08                             ` David Ahern
2011-04-18  6:38                               ` Kumar Ranjit-B04060
2011-04-18  6:48                                 ` David Ahern
2011-04-18 17:46                                   ` Kumar Ranjit-B04060
2011-04-18 19:26                                     ` David Ahern
2011-03-29 17:07                     ` Fwd: perf trace cannot work with software events ? zhao bao
2011-03-26 14:27           ` Lin Ming

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