lkml.org 
[lkml]   [2016]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] perf: measure page fault duration in perf trace
Date
Hi,

Here is another attempt to make the perf-trace subcommand print the
page fault durations.

This solution is based on static tracepoints and it was necessary to
add 2 more tracepoints. I understood that adding tracepoints is a
questionable solution; I can try something else if someone has another
idea.

Alexis.

Alexis Berlemont (2):
perf, x86-mm: declare page-faults tracepoints like irq-vectors ones
perf: add page fault duration measures in perf trace

arch/x86/include/asm/trace/exceptions.h | 17 ++-
arch/x86/mm/fault.c | 17 ++-
tools/perf/Documentation/perf-trace.txt | 4 +-
tools/perf/builtin-trace.c | 231 ++++++++++++++++++++++++++++----
4 files changed, 238 insertions(+), 31 deletions(-)

--
2.10.2

\
 
 \ /
  Last update: 2016-11-18 01:26    [W:0.094 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site