From: Stefan Bader Date: Mon, 18 May 2020 14:03:16 +0000 (+0200) Subject: Update: Additional kernel ranges for vmalloc_sync_mappings X-Git-Tag: v2.11.4~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4ad901836eb32be6119bff1313a23cfb602218b1;p=lttng-modules.git Update: Additional kernel ranges for vmalloc_sync_mappings Some Ubuntu kernels cannot be directly mapped to an upstream stable version. Define distro specific ranges for those (4.15, 5.0, 5.3). Signed-off-by: Stefan Bader Signed-off-by: Mathieu Desnoyers --- diff --git a/wrapper/vmalloc.h b/wrapper/vmalloc.h index c7538ae9..75c7e2c6 100644 --- a/wrapper/vmalloc.h +++ b/wrapper/vmalloc.h @@ -28,7 +28,10 @@ || LTTNG_KERNEL_RANGE(4,19,113, 4,20,0) \ || LTTNG_KERNEL_RANGE(4,14,175, 4,15,0) \ || LTTNG_KERNEL_RANGE(4,9,218, 4,10,0) \ - || LTTNG_KERNEL_RANGE(4,4,218, 4,5,0)) + || LTTNG_KERNEL_RANGE(4,4,218, 4,5,0)) \ + || LTTNG_UBUNTU_KERNEL_RANGE(4,15,18,97, 4,16,0,0) \ + || LTTNG_UBUNTU_KERNEL_RANGE(5,0,21,48, 5,1,0,0) \ + || LTTNG_UBUNTU_KERNEL_RANGE(5,3,18,52, 5,4,0,0) static inline void wrapper_vmalloc_sync_mappings(void) @@ -85,7 +88,10 @@ void wrapper_vmalloc_sync_mappings(void) || LTTNG_KERNEL_RANGE(4,19,113, 4,20,0) \ || LTTNG_KERNEL_RANGE(4,14,175, 4,15,0) \ || LTTNG_KERNEL_RANGE(4,9,218, 4,10,0) \ - || LTTNG_KERNEL_RANGE(4,4,218, 4,5,0)) + || LTTNG_KERNEL_RANGE(4,4,218, 4,5,0)) \ + || LTTNG_UBUNTU_KERNEL_RANGE(4,15,18,97, 4,18,0,0) \ + || LTTNG_UBUNTU_KERNEL_RANGE(5,0,21,48, 5,1,0,0) \ + || LTTNG_UBUNTU_KERNEL_RANGE(5,3,18,52, 5,4,0,0) static inline void wrapper_vmalloc_sync_mappings(void)