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

