linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/5] perf trace pagefaults
@ 2014-06-18 14:59 Stanislav Fomichev
  2014-06-18 14:59 ` [PATCH 1/5] perf trace: add support for pagefault tracing Stanislav Fomichev
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Stanislav Fomichev @ 2014-06-18 14:59 UTC (permalink / raw)
  To: a.p.zijlstra, paulus, mingo, acme, dsahern, stfomichev, jolsa,
	xiaoguangrong, yangds.fnst, adrian.hunter, namhyung
  Cc: linux-kernel

This patch series adds support for pagefaults tracing to 'perf trace' command.
It seems this feature was planned by Namhyung Kim (http://events.linuxfoundation.org/images/stories/pdf/klf2012_n_kim.pdf page 17/28)
but I couldn't find any prior patches/discussion and started from scratch.

First three patches add the feature and options to enable faults and disable
syscalls.
Two last patches add events caching (like it's done in the perf kvm), so that
we don't get fault events prior to mmap/comm events (makes sense only
for live mode).

This is just a proof-of-concept, and I'd like to get some comments about
where and what I got wrong and what additional useful information I can
expose in the trace.

Stanislav Fomichev (5):
  perf trace: add support for pagefault tracing
  perf trace: add pagefault statistics
  perf trace: add possibility to switch off syscall events
  perf kvm: move perf_kvm__mmap_read into session utils
  perf trace: add events cache

 tools/perf/Documentation/perf-trace.txt |  19 ++
 tools/perf/builtin-kvm.c                |  88 +-------
 tools/perf/builtin-trace.c              | 351 ++++++++++++++++++++++----------
 tools/perf/util/session.c               |  85 ++++++++
 tools/perf/util/session.h               |   5 +
 5 files changed, 353 insertions(+), 195 deletions(-)

-- 
1.8.3.2


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

end of thread, other threads:[~2014-06-25 11:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-18 14:59 [RFC PATCH 0/5] perf trace pagefaults Stanislav Fomichev
2014-06-18 14:59 ` [PATCH 1/5] perf trace: add support for pagefault tracing Stanislav Fomichev
2014-06-18 15:47   ` Arnaldo Carvalho de Melo
2014-06-18 17:42     ` Stanislav Fomichev
2014-06-18 20:04       ` Arnaldo Carvalho de Melo
2014-06-19 12:06         ` Stanislav Fomichev
2014-06-25 11:33           ` Stanislav Fomichev
2014-06-18 14:59 ` [PATCH 2/5] perf trace: add pagefault statistics Stanislav Fomichev
2014-06-18 14:59 ` [PATCH 3/5] perf trace: add possibility to switch off syscall events Stanislav Fomichev
2014-06-18 14:59 ` [PATCH 4/5] perf kvm: move perf_kvm__mmap_read into session utils Stanislav Fomichev
2014-06-18 14:59 ` [PATCH 5/5] perf trace: add events cache Stanislav Fomichev

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