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

Michael Jeanson via lttng-dev <[email protected]> Tue, 6 Feb 2024 14:14:14 -0500
Newsgroups org.lttng.lists.lttng-dev
Message-ID <[email protected]>
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 <[email protected]>

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
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev