From: Mathieu Desnoyers Date: Fri, 26 Sep 2014 19:28:11 +0000 (-0400) Subject: Fix: older kernels (3.2.x) don't undefine TRACE_SYSTEM X-Git-Tag: v2.6.0-rc1~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=72a527538699ab5c72bfb0080a975f04209328b9;p=lttng-modules.git Fix: older kernels (3.2.x) don't undefine TRACE_SYSTEM Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-syscalls.c b/lttng-syscalls.c index 846946ad..a4a8ed44 100644 --- a/lttng-syscalls.c +++ b/lttng-syscalls.c @@ -91,6 +91,7 @@ struct mmap_arg_struct; #define PARAMS(args...) args /* Handle unknown syscalls */ +#undef TRACE_SYSTEM #define TRACE_SYSTEM syscalls_unknown #include "instrumentation/syscalls/headers/syscalls_unknown.h" #undef TRACE_SYSTEM