[lttng-dev] [LTTng-modules PATCH] Add header to fix compilation of syscalls-extractor on 3.9 kernel

Yannick Brosseau yannick.brosseau at gmail.com
Wed Jun 26 15:09:29 EDT 2013


Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
---
 .../syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c      |    1 +
 1 file changed, 1 insertion(+)

diff --git a/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c b/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c
index a1d3085..7119746 100644
--- a/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c
+++ b/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c
@@ -31,6 +31,7 @@
 #include <linux/dcache.h>
 #include <linux/ftrace_event.h>
 #include <trace/syscall.h>
+#include <asm/syscall.h>
 
 #ifndef CONFIG_FTRACE_SYSCALLS
 #error "You need to set CONFIG_FTRACE_SYSCALLS=y"
-- 
1.7.10.4




More information about the lttng-dev mailing list