diff -Nru lttng-modules-2.9.0/debian/changelog lttng-modules-2.9.0/debian/changelog --- lttng-modules-2.9.0/debian/changelog 2018-02-06 11:02:03.000000000 -0500 +++ lttng-modules-2.9.0/debian/changelog 2018-03-21 19:12:27.000000000 -0400 @@ -1,3 +1,10 @@ +lttng-modules (2.9.0-1ubuntu3.2) artful; urgency=medium + + * Fix builds for 4.13.0-38 kernel (LP: #1756240) + - Update definition of kvm_mmio() to match the new kernel + + -- Khalid Elmously Wed, 21 Mar 2018 19:12:27 -0400 + lttng-modules (2.9.0-1ubuntu3.1) artful; urgency=medium * Fix builds for 4.14 kernel (LP: #1739591) diff -Nru lttng-modules-2.9.0/debian/patches/0034-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch lttng-modules-2.9.0/debian/patches/0034-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch --- lttng-modules-2.9.0/debian/patches/0034-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch 1969-12-31 19:00:00.000000000 -0500 +++ lttng-modules-2.9.0/debian/patches/0034-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch 2018-03-21 19:12:27.000000000 -0400 @@ -0,0 +1,15 @@ +## Description: Update kvm.h for 4.13.0-38 +## Bug-Ubuntu: https://bugs.launchpad.net/bugs/1756240 +## Author: Khalid Elmously +Index: lttng-modules-2.9.0/instrumentation/events/lttng-module/kvm.h +=================================================================== +--- lttng-modules-2.9.0.orig/instrumentation/events/lttng-module/kvm.h ++++ lttng-modules-2.9.0/instrumentation/events/lttng-module/kvm.h +@@ -90,6 +90,7 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq, + || LTTNG_KERNEL_RANGE(4,4,112, 4,5,0) \ + || LTTNG_KERNEL_RANGE(3,16,52, 3,17,0) \ + || LTTNG_KERNEL_RANGE(3,2,97, 3,3,0) \ ++ || LTTNG_UBUNTU_KERNEL_RANGE(4,13,16,38 4,14,255,255) \ + || LTTNG_DEBIAN_KERNEL_RANGE(4,9,65,0,3,0, 4,10,0,0,0,0)) + + LTTNG_TRACEPOINT_EVENT(kvm_mmio, diff -Nru lttng-modules-2.9.0/debian/patches/series lttng-modules-2.9.0/debian/patches/series --- lttng-modules-2.9.0/debian/patches/series 2018-02-06 11:02:03.000000000 -0500 +++ lttng-modules-2.9.0/debian/patches/series 2018-03-21 19:11:38.000000000 -0400 @@ -31,3 +31,4 @@ 0031-Update-kvm-instrumentation-for-3.16.52-and-3.2.97.patch 0032-Update-kvm-instrumentation-for-debian-kernel-4.9.65-.patch 0033-Update-kvm-instrumentation-for-4.14.14-4.9.77-4.4.11.patch +0034-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch