aboutsummaryrefslogtreecommitdiff
path: root/include/trace/trap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/trap.h')
-rw-r--r--include/trace/trap.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/trace/trap.h b/include/trace/trap.h
new file mode 100644
index 00000000000..1b70c049960
--- /dev/null
+++ b/include/trace/trap.h
@@ -0,0 +1,11 @@
+#ifndef _TRACE_TRAP_H
+#define _TRACE_TRAP_H
+
+#include <linux/tracepoint.h>
+
+DECLARE_TRACE(trap_entry,
+ TP_PROTO(struct pt_regs *regs, long id),
+ TP_ARGS(regs, id));
+DECLARE_TRACE_NOARGS(trap_exit);
+
+#endif