linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to use perf to log page faults
@ 2010-05-12 19:38 Taras Glek
  2010-05-12 19:59 ` Frederic Weisbecker
  2010-05-12 20:07 ` Andi Kleen
  0 siblings, 2 replies; 5+ messages in thread
From: Taras Glek @ 2010-05-12 19:38 UTC (permalink / raw)
  To: lkml

Hi,
 From the docs it seems that perf may be useful for logging page faults. 
I tried
perf record -g -d -f -e page-faults <mycommand>
but all I got were PERF_RECORD_MMAP events.

I'm using 2.6.32. Ideally I'd like to collect fault addresses and 
userspace stacks that caused them. Isn't this what the page-fault event 
is for?

Taras

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

end of thread, other threads:[~2010-05-12 21:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 19:38 How to use perf to log page faults Taras Glek
2010-05-12 19:59 ` Frederic Weisbecker
2010-05-12 21:18   ` Taras Glek
2010-05-12 21:29     ` Frederic Weisbecker
2010-05-12 20:07 ` Andi Kleen

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