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

From: Arnaldo Carvalho de Melo
Date: Tue Dec 06 2016 - 09:46:35 EST


Em Tue, Dec 06, 2016 at 12:40:06AM +0100, Alexis Berlemont escreveu:
> 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 ?

I have to test this, and review PeterZ latest comment about it, to see
if all is well with him by now, Peter?

- Arnaldo

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