[lttng-dev] [RFC-Patch 1/2] Add page fault trace event definitions

2013-04-07 Thread Francis Deslauriers
Add page_fault_entry and page_fault_exit event definitions. It will allow each architecture to instrument their page faults. Signed-off-by: Francis Deslauriers Reviewed-by: Raphaël Beamonte --- include/trace/events/fault.h | 51 ++ 1 file changed, 51 in

[lttng-dev] [RFC-Patch 2/2] x86:Instruments page fault trace event

2013-04-07 Thread Francis Deslauriers
Signed-off-by: Francis Deslauriers Reviewed-by: Raphaël Beamonte --- arch/x86/mm/fault.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 2b97525..f41a5a0 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -20,6 +20,9 @@ #inc