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.13.0-rc1~213 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2e4c781ed18ba640bbb63a846f2ae671cdb530a4;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/include/wrapper/vmalloc.h b/include/wrapper/vmalloc.h index 66b14066..90087269 100644 --- a/include/wrapper/vmalloc.h +++ b/include/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)