[lttng-dev] [PATCH] Compile fixes for RHEL 9.3 kernels

Michael Jeanson mjeanson at efficios.com
Tue Feb 6 14:14:14 EST 2024


On 2024-01-26 12:18, Martin Hicks via lttng-dev wrote:
> 
> I'm not sure when some of these changes were backported, but the
> unmodified lttng-modules compiles vs. 5.14.0-162.23.1
> 
> This disables the kmem and compaction modules.  I don't believe getting
> these to compile will be easy, as the required struct declarations are
> in vmlinux.h, and haven't been moved into mm/internal.h and mm/slab.h in
> the RHEL sources.
> 
> Signed-off-by: Martin Hicks <martin at sr-research.com>

Hi Martin,

I tested your patch and did some minor fixes, I added the base kernel version 
to the RHEL ABI version check in the Kbuild file because the ABI is tied to a 
specific kernel version and it would conflict with other RHEL versions. I also 
adjusted the range for 'kfree_skb' to build on RHEL9.2 kernels.

I uploaded the updated patch [1] to our gerrit instance for easier tracking on 
our side. Can you please test this version on your system?

You can get the patch using these commands:

   git fetch https://review.lttng.org/lttng-modules refs/changes/50/11750/3
   git cherry-pick FETCH_HEAD


Thanks,

Michael

[1] https://review.lttng.org/c/lttng-modules/+/11750


More information about the lttng-dev mailing list