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.13.0-rc1~170 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7c9ce67310dd8c689bdcbd317c41dcfebc63e883;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/include/instrumentation/events/arch/x86/kvm/mmutrace.h b/include/instrumentation/events/arch/x86/kvm/mmutrace.h index 05dd3d6d..6275b069 100644 --- a/include/instrumentation/events/arch/x86/kvm/mmutrace.h +++ b/include/instrumentation/events/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/include/instrumentation/events/rcu.h b/include/instrumentation/events/rcu.h index 9c7a6de1..0f841dbb 100644 --- a/include/instrumentation/events/rcu.h +++ b/include/instrumentation/events/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),