From e706ff367f5191873cb681d6fce1fb4e41df0e0e Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 7 Jun 2018 15:32:49 -0400 Subject: [PATCH] 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 --- instrumentation/events/lttng-module/rcu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1