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