projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tracing: Make syscall tracepoints conditional
[linux-2.6-block.git]
/
include
/
trace
/
syscall.h
diff --git
a/include/trace/syscall.h
b/include/trace/syscall.h
index 9661dd406b93b3968222bf3c8df39e4691383032..5dcb7e3a544cfa02fe96831b4d6033ed913b9517 100644
(file)
--- a/
include/trace/syscall.h
+++ b/
include/trace/syscall.h
@@
-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.
*