Update RCU instrumentation to Linux 3.12
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 31 Oct 2013 14:25:01 +0000 (10:25 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 4 Nov 2013 17:31:42 +0000 (12:31 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/rcu.h

index ec541ba8cebb645aa740cfc81aa2f1151402d39a..1220fb726b36f45eaee1ca81326c800272373f87 100644 (file)
  */
 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),
 
This page took 0.027108 seconds and 4 git commands to generate.