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.10.7~10 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=e706ff367f5191873cb681d6fce1fb4e41df0e0e 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)