git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tracing: Make syscall tracepoints conditional
[safe/jmp/linux-2.6]
/
include
/
trace
/
syscall.h
diff --git
a/include/trace/syscall.h
b/include/trace/syscall.h
index
9661dd4
..
5dcb7e3
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.
*