Patchwork [16/18] Generate empty tracepoints if syscall tracing is disabled

login
register
mail settings
Submitter Jan Kara
Date March 23, 2010, 12:32 a.m.
Message ID <1269304340-25372-17-git-send-email-jack@suse.cz>
Download mbox | patch
Permalink /patch/48313/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Jan Kara - March 23, 2010, 12:32 a.m.
CC: x86@kernel.org
CC: sparclinux@vger.kernel.org
CC: linux-s390@vger.kernel.org
CC: Alexander Schulz <alex@shark-linux.de>
Signed-off-by: Jan Kara <jack@suse.cz>
---
 include/trace/events/syscalls.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/include/trace/events/syscalls.h b/include/trace/events/syscalls.h
index fb726ac..6f0ad30 100644
--- a/include/trace/events/syscalls.h
+++ b/include/trace/events/syscalls.h
@@ -1,6 +1,8 @@ 
 #undef TRACE_SYSTEM
+#undef TRACE_CONFIG
 #define TRACE_SYSTEM raw_syscalls
 #define TRACE_INCLUDE_FILE syscalls
+#define TRACE_CONFIG CONFIG_FTRACE_SYSCALLS
 
 #if !defined(_TRACE_EVENTS_SYSCALLS_H) || defined(TRACE_HEADER_MULTI_READ)
 #define _TRACE_EVENTS_SYSCALLS_H