From: Mathieu Desnoyers Date: Thu, 31 Oct 2013 14:25:01 +0000 (-0400) Subject: Update RCU instrumentation to Linux 3.12 X-Git-Tag: v2.4.0-rc1~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8e6213127497f61d85c3c8cdd9f2e245b00a734a;p=lttng-modules.git Update RCU instrumentation to Linux 3.12 Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/rcu.h b/instrumentation/events/lttng-module/rcu.h index ec541ba8..1220fb72 100644 --- a/instrumentation/events/lttng-module/rcu.h +++ b/instrumentation/events/lttng-module/rcu.h @@ -20,7 +20,11 @@ */ TRACE_EVENT(rcu_utilization, +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)) + TP_PROTO(const char *s), +#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)) */ TP_PROTO(char *s), +#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)) */ TP_ARGS(s),