Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* lttng-modules-2.13.18 Condition for Kernel 5.14.0-582.el9.x86_64 of Centos Stream 9.
@ 2025-05-14 19:16 Jean-Marc Chevalier via lttng-dev
  2025-05-14 19:57 ` Kienan Stewart via lttng-dev
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Marc Chevalier via lttng-dev @ 2025-05-14 19:16 UTC (permalink / raw)
  To: lttng-dev

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

For lttng-modules-2.13.18

I have this error with kernel version 5.14.0-582.el9.x86_64:

lttng-modules-2.13.18/src/lttng-statedump-impl.c:415:20: error: 'dev_base_lock' undeclared (first use in this function); did you mean 'device_lock'?

I got it to create modules by changing the condition on line 396

Original:
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,9,0))

Modification:
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,9,0)) || (LTTNG_LINUX_VERSION_CODE == LTTNG_KERNEL_VERSION(5,14,0))

I don't know how you distinguish the version after the dash character for RHEL kernels.

- JM

--
- Jean-Marc Chevalier
  Technicien
  Génie informatique Génie logiciel
  Local:     M-4002
  Téléphone: 514-340-4711 x4266

[-- Attachment #2: Type: text/html, Size: 5655 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-14 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-14 19:16 lttng-modules-2.13.18 Condition for Kernel 5.14.0-582.el9.x86_64 of Centos Stream 9 Jean-Marc Chevalier via lttng-dev
2025-05-14 19:57 ` Kienan Stewart via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox