← Back to team overview

lttng team mailing list archive

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

 

This bug was fixed in the package lttng-modules - 2.13.4-1ubuntu1

---------------
lttng-modules (2.13.4-1ubuntu1) kinetic; urgency=medium

  * Support Linux 5.19 (LP: #1982297):
    - debian/patches/0001-fix-mm-page_alloc-fix-tracepoint-mm_page_alloc_zone_.patch
    - debian/patches/0002-fix-fs-Remove-flags-parameter-from-aops-write_begin-.patch
    - debian/patches/0003-fix-workqueue-Fix-type-of-cpu-in-trace-event-v5.19.patch

 -- Andrea Righi <andrea.righi@xxxxxxxxxxxxx>  Wed, 20 Jul 2022 07:03:01
+0000

** Changed in: lttng-modules (Ubuntu Kinetic)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in lttng-modules source package in Kinetic:
  Fix Released

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



References