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.3.3~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3c58d2ead098b01054f87f64dde17e22eaa542f0;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),