Fix: update RCU instrumentation for 4.17
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 1 May 2018 20:42:44 +0000 (16:42 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 1 May 2018 20:43:50 +0000 (16:43 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/rcu.h

index 4528a79b556aaf11a1daaba96f5fcbad5aa87353..7760bd6e7673cc4cc9d63df4492fee0e77a51c84 100644 (file)
@@ -612,7 +612,9 @@ LTTNG_TRACEPOINT_EVENT(rcu_barrier,
                                         grplo, grphi, gp_tasks) do { } \
        while (0)
 #define trace_rcu_fqs(rcuname, gpnum, cpu, qsevent) do { } while (0)
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,17,0))
+#define trace_rcu_dyntick(polarity, oldnesting, newnesting, dyntick) do { } while (0)
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0))
 #define trace_rcu_dyntick(polarity, oldnesting, newnesting) do { } while (0)
 #else
 #define trace_rcu_dyntick(polarity) do { } while (0)
This page took 0.025912 seconds and 4 git commands to generate.