<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi,</div><div><br data-mce-bogus="1"></div><div>Is it possible to build the lttng modules againt Centos Stream 9 kernels? I see these warnings at the top when attempting to compile:</div><div><br data-mce-bogus="1"></div><div><div>make[1]: Entering directory '/usr/src/kernels/5.14.0-452.el9.x86_64'</div><div>/home/tmp/git/lttng-modules/src/probes/Kbuild:28: File ./mm/slab.h not found. Probe "kmem" is disabled. Use full kernel source tree to enable it.</div><div>/home/tmp/git/lttng-modules/src/probes/Kbuild:79: File ./arch/x86/kvm/lapic.h not found. Probe "kvm" x86-specific is disabled. Use full kernel source tree to enable it.</div><div>/home/tmp/git/lttng-modules/src/probes/Kbuild:181: Files ./mm/internal.h not found. Probe "compaction" is disabled. Use full kernel source tree to enable it.</div><div>/home/tmp/git/lttng-modules/src/probes/Kbuild:190: Files ./fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it.</div><div>/home/tmp/git/lttng-modules/src/probes/Kbuild:213: File ./drivers/base/regmap/trace.h not found. Probe "regmap" is disabled. Use full kernel source tree to enable it.</div></div><div><br data-mce-bogus="1"></div><div>I tried with module versions 2.12.17 and 2.13.13 against the kernel 5.14.0-452.el9.x86_64 and I obtain this error:</div><div><br data-mce-bogus="1"></div><div>/home/tmp/git/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for 'trace_sched_stat_runtime'; have 'void(struct task_struct *, u64, u64)' {aka 'void(struct task_struct *, long long unsigned int, long long unsigned int)'}<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Any help would be greatly appreciated.</div><div><br data-mce-bogus="1"></div><div>- JM</div><div><br></div><div data-marker="__SIG_PRE__">-- <br>- Jean-Marc Chevalier<br> Technicien<br> Génie informatique Génie logiciel<br> Local: M-4002 <br> Téléphone: 514-340-4711 x4266<br></div></div></body></html>