Re: [PATCH v3 0/2] perf: measure page fault duration in perf trace

From: Alexis Berlemont
Date: Mon Dec 05 2016 - 18:42:35 EST


Alexis Berlemont wrote:
> 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.
>

Could you indicate me a way to improve these patches so as to move
forward ?

Regards,

Alexis.

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