From 3c58d2ead098b01054f87f64dde17e22eaa542f0 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 31 Oct 2013 10:25:01 -0400 Subject: [PATCH] Update RCU instrumentation to Linux 3.12 Signed-off-by: Mathieu Desnoyers --- instrumentation/events/lttng-module/rcu.h | 4 ++++ 1 file changed, 4 insertions(+) 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), -- 2.34.1