diff -Nru lttng-modules-2.8.0/debian/changelog lttng-modules-2.8.0/debian/changelog --- lttng-modules-2.8.0/debian/changelog 2018-02-06 05:38:22.000000000 -0500 +++ lttng-modules-2.8.0/debian/changelog 2018-03-22 12:08:10.000000000 -0400 @@ -1,3 +1,10 @@ +lttng-modules (2.8.0-1ubuntu1~16.04.4ubuntu1) UNRELEASED; urgency=medium + + * Fix builds for 4.13.0-38 kernel (LP: #1756240) + - Update definition of kvm_mmio() to match the new kernel + + -- Khalid Elmously Thu, 22 Mar 2018 12:08:10 -0400 + lttng-modules (2.8.0-1ubuntu1~16.04.4) xenial; urgency=medium * Fix builds on HWE 4.14 kernel (LP: #1739591) diff -Nru lttng-modules-2.8.0/debian/patches/0037-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch lttng-modules-2.8.0/debian/patches/0037-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch --- lttng-modules-2.8.0/debian/patches/0037-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch 1969-12-31 19:00:00.000000000 -0500 +++ lttng-modules-2.8.0/debian/patches/0037-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch 2018-03-22 12:08:10.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.8.0/instrumentation/events/lttng-module/kvm.h +=================================================================== +--- lttng-modules-2.8.0.orig/instrumentation/events/lttng-module/kvm.h ++++ lttng-modules-2.8.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.8.0/debian/patches/series lttng-modules-2.8.0/debian/patches/series --- lttng-modules-2.8.0/debian/patches/series 2018-02-06 05:28:41.000000000 -0500 +++ lttng-modules-2.8.0/debian/patches/series 2018-03-22 12:07:50.000000000 -0400 @@ -34,3 +34,4 @@ 0034-Update-kvm-instrumentation-for-3.16.52-and-3.2.97.patch 0035-Update-kvm-instrumentation-for-debian-kernel-4.9.65-.patch 0036-Update-kvm-instrumentation-for-4.14.14-4.9.77-4.4.11.patch +0037-Update-kvm-instrumentation-for-ubuntu-kernel-4.13.0-38+.patch