aboutsummaryrefslogtreecommitdiff
path: root/include/trace/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/syscall.h')
-rw-r--r--include/trace/syscall.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/trace/syscall.h b/include/trace/syscall.h
index 31966a4fb8c..2f40e5e65a2 100644
--- a/include/trace/syscall.h
+++ b/include/trace/syscall.h
@@ -6,6 +6,7 @@
#include <linux/ftrace_event.h>
#include <asm/ptrace.h>
+#include <linux/tracepoint.h>
/*
@@ -54,4 +55,11 @@ int perf_sysexit_enable(struct ftrace_event_call *call);
void perf_sysexit_disable(struct ftrace_event_call *call);
#endif
+DECLARE_TRACE(syscall_entry,
+ TP_PROTO(struct pt_regs *regs, long id),
+ TP_ARGS(regs, id));
+DECLARE_TRACE(syscall_exit,
+ TP_PROTO(long ret),
+ TP_ARGS(ret));
+
#endif /* _TRACE_SYSCALL_H */