From: Michael Jeanson Date: Thu, 7 Jun 2018 19:32:49 +0000 (-0400) Subject: Fix: dyntick field added to trace_rcu_dyntick in v4.16 X-Git-Tag: v2.11.0-rc1~41 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7621c2671ae06e51103a3ddd70e8b7e1d8fefa8c;p=lttng-modules.git Fix: dyntick field added to trace_rcu_dyntick in v4.16 See upstream commit: commit dec98900eae1e22467182e58688abe5fae98bd5f Author: Paul E. McKenney Date: Wed Oct 4 16:24:29 2017 -0700 rcu: Add ->dynticks field to rcu_dyntick trace event Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/rcu.h b/instrumentation/events/lttng-module/rcu.h index 7760bd6e..58a2306f 100644 --- a/instrumentation/events/lttng-module/rcu.h +++ b/instrumentation/events/lttng-module/rcu.h @@ -612,7 +612,7 @@ 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(4,17,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,16,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)