[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161027233134.12117-1-alexis.berlemont@gmail.com>
Date: Fri, 28 Oct 2016 01:31:33 +0200
From: Alexis Berlemont <alexis.berlemont@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Alexis Berlemont <alexis.berlemont@...il.com>,
peterz@...radead.org, mingo@...hat.com, acme@...nel.org,
alexander.shishkin@...ux.intel.com
Subject: [PATCH v2] perf, x86-mm: declare page-faults tracepoints like irq-vectors ones
So, would you be OK with the following patch ?
There is a symmetry just like irq_vectors tracepoints:
# perf list | grep -E "exception|irq_vectors"
exceptions:page_fault_kernel_entry [Tracepoint event]
exceptions:page_fault_kernel_exit [Tracepoint event]
exceptions:page_fault_user_entry [Tracepoint event]
exceptions:page_fault_user_exit [Tracepoint event]
irq_vectors:call_function_entry [Tracepoint event]
irq_vectors:call_function_exit [Tracepoint event]
...
Maybe 2 tracepoints (instead of 4) should have been enough; however,
there were already 1 tracepoint per mode before.
Alexis.
Alexis Berlemont (1):
perf, x86-mm: declare page-faults tracepoints like irq-vectors ones
arch/x86/include/asm/trace/exceptions.h | 17 ++++++++++++++++-
arch/x86/mm/fault.c | 17 ++++++++++++++---
2 files changed, 30 insertions(+), 4 deletions(-)
--
2.10.1
Powered by blists - more mailing lists