tracing: Make syscall tracepoints conditional
[deliverable/linux.git] / include / trace / syscall.h
index 9661dd406b93b3968222bf3c8df39e4691383032..5dcb7e3a544cfa02fe96831b4d6033ed913b9517 100644 (file)
@@ -8,6 +8,8 @@
 #include <asm/ptrace.h>
 
 
+#ifdef CONFIG_HAVE_SYSCALL_TRACEPOINTS
+
 extern void syscall_regfunc(void);
 extern void syscall_unregfunc(void);
 
@@ -25,6 +27,8 @@ DECLARE_TRACE_WITH_CALLBACK(syscall_exit,
        syscall_unregfunc
 );
 
+#endif
+
 /*
  * A syscall entry in the ftrace syscalls array.
  *
This page took 0.027685 seconds and 5 git commands to generate.