← Back to team overview

lttng team mailing list archive

[Bug 2003082] [NEW] lttng-modules-dkms fails to build on jammy with the latest 5.19 kernel

 

Public bug reported:

[Impact]

lttng-modules-dkms fails to build with the latest 5.19 kernel:

/var/lib/dkms/lttng-
modules/2.13.1/build/src/probes/../../include/lttng/tracepoint-event-
impl.h:133:6: error: conflicting types for ‘trace_sched_switch’; have
‘void(bool,  struct task_struct *, struct task_struct *)’ {aka
‘void(_Bool,  struct task_struct *, struct task_struct *)’}


(along with other errors, due to the different ABI introduced by 5.19)

[Test case]

 $ sudo apt install lttng-modules-dkms

[Fix]

Cherry pick patches from the version in kinetic to properly support the
new ABI (kernels >= 5.19).

[Regression potential]

We may experience regressions with kernels >= 5.19 that are using lttng,
previous kernels are not affected by the new ABI changes.

** Affects: lttng-modules (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
LTTng, which is subscribed to lttng-modules in Ubuntu.
Matching subscriptions: lttng-modules-bugs
https://bugs.launchpad.net/bugs/2003082

Title:
  lttng-modules-dkms fails to build on jammy with the latest 5.19 kernel

Status in lttng-modules package in Ubuntu:
  New

Bug description:
  [Impact]

  lttng-modules-dkms fails to build with the latest 5.19 kernel:

  /var/lib/dkms/lttng-
  modules/2.13.1/build/src/probes/../../include/lttng/tracepoint-event-
  impl.h:133:6: error: conflicting types for ‘trace_sched_switch’; have
  ‘void(bool,  struct task_struct *, struct task_struct *)’ {aka
  ‘void(_Bool,  struct task_struct *, struct task_struct *)’}

  
  (along with other errors, due to the different ABI introduced by 5.19)

  [Test case]

   $ sudo apt install lttng-modules-dkms

  [Fix]

  Cherry pick patches from the version in kinetic to properly support
  the new ABI (kernels >= 5.19).

  [Regression potential]

  We may experience regressions with kernels >= 5.19 that are using
  lttng, previous kernels are not affected by the new ABI changes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/2003082/+subscriptions



Follow ups