From: Michael Jeanson Date: Wed, 16 Sep 2020 19:16:17 +0000 (-0400) Subject: fix: Adjust ranges for Ubuntu HWE 5.0 kernels X-Git-Tag: v2.11.6~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2ea696dc1331405923fe2cadca4e7e100738162e;p=lttng-modules.git fix: Adjust ranges for Ubuntu HWE 5.0 kernels Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: I36f2c3485dcc6ccb74ea86a7ce66fcb1662d060b --- diff --git a/instrumentation/events/lttng-module/arch/x86/kvm/mmutrace.h b/instrumentation/events/lttng-module/arch/x86/kvm/mmutrace.h index 73463d55..e5470400 100644 --- a/instrumentation/events/lttng-module/arch/x86/kvm/mmutrace.h +++ b/instrumentation/events/lttng-module/arch/x86/kvm/mmutrace.h @@ -220,6 +220,7 @@ LTTNG_TRACEPOINT_EVENT_MAP( LTTNG_KERNEL_RANGE(5,4,19, 5,5,0) || \ LTTNG_KERNEL_RANGE(5,5,3, 5,6,0) || \ LTTNG_UBUNTU_KERNEL_RANGE(4,15,18,92, 4,16,0,0) || \ + LTTNG_UBUNTU_KERNEL_RANGE(5,0,21,44, 5,1,0,0) || \ LTTNG_UBUNTU_KERNEL_RANGE(5,3,18,43, 5,3,18,45) || \ LTTNG_UBUNTU_KERNEL_RANGE(5,3,18,46, 5,4,0,0)) LTTNG_TRACEPOINT_EVENT_MAP( diff --git a/instrumentation/events/lttng-module/rcu.h b/instrumentation/events/lttng-module/rcu.h index 6a0b58d1..24bd51da 100644 --- a/instrumentation/events/lttng-module/rcu.h +++ b/instrumentation/events/lttng-module/rcu.h @@ -394,7 +394,8 @@ LTTNG_TRACEPOINT_EVENT(rcu_fqs, */ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) \ || LTTNG_KERNEL_RANGE(5,5,6, 5,6,0) \ - || LTTNG_KERNEL_RANGE(5,4,22, 5,5,0) + || LTTNG_KERNEL_RANGE(5,4,22, 5,5,0) \ + || LTTNG_UBUNTU_KERNEL_RANGE(5,0,21,46, 5,1,0,0) LTTNG_TRACEPOINT_EVENT(rcu_dyntick, TP_PROTO(const char *polarity, long oldnesting, long newnesting, int dynticks),