← Back to team overview

lttng team mailing list archive

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

 

Public bug reported:

[Impact]

lttng-modules-dkms fails to build on 5.19 with the following error:

  CC [M]  /var/lib/dkms/lttng-modules/2.13.4/build/src/probes/lttng-probe-kmem.o
In file included from /var/lib/dkms/lttng-modules/2.13.4/build/src/probes/../../include/lttng/define_trace.h:87,
                 from /var/lib/dkms/lttng-modules/2.13.4/build/src/probes/../../include/instrumentation/events/kmem.h:367,
                 from /var/lib/dkms/lttng-modules/2.13.4/build/src/probes/lttng-probe-kmem.c:35:
/var/lib/dkms/lttng-modules/2.13.4/build/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for ‘trace_mm_page_alloc_zone_locked’; have ‘void(struct page *, unsigned int,  int)’
  133 | void trace_##_name(_proto);
      |      ^~~~~~

[Test case]

$ sudo apt install lttng-modules-dkms

[Fix]

Support the new prototype of mm_page_alloc_zone_locked() introduced in
5.19.

[Regression potential]

We may experience regressions using lttng on kernels >= 5.19, especially
when tracing memory-related events.

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

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

** Package changed: ubuntu => lttng-modules (Ubuntu)

** Also affects: lttng-modules (Ubuntu Kinetic)
   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/1982297

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

Status in lttng-modules package in Ubuntu:
  New
Status in lttng-modules source package in Kinetic:
  New

Bug description:
  [Impact]

  lttng-modules-dkms fails to build on 5.19 with the following error:

    CC [M]  /var/lib/dkms/lttng-modules/2.13.4/build/src/probes/lttng-probe-kmem.o
  In file included from /var/lib/dkms/lttng-modules/2.13.4/build/src/probes/../../include/lttng/define_trace.h:87,
                   from /var/lib/dkms/lttng-modules/2.13.4/build/src/probes/../../include/instrumentation/events/kmem.h:367,
                   from /var/lib/dkms/lttng-modules/2.13.4/build/src/probes/lttng-probe-kmem.c:35:
  /var/lib/dkms/lttng-modules/2.13.4/build/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for ‘trace_mm_page_alloc_zone_locked’; have ‘void(struct page *, unsigned int,  int)’
    133 | void trace_##_name(_proto);
        |      ^~~~~~

  [Test case]

  $ sudo apt install lttng-modules-dkms

  [Fix]

  Support the new prototype of mm_page_alloc_zone_locked() introduced in
  5.19.

  [Regression potential]

  We may experience regressions using lttng on kernels >= 5.19,
  especially when tracing memory-related events.

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



Follow ups