Skip to contentSkip to conversation

Update: kvm instrumentation for ubuntu 4.13.0-38

PATCH Superseded Khalid Elmously 2 participants 7 messages Mar 23, 2018 – Mar 25, 2018 6 messages not in the archive

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/1 Update: kvm instrumentation for ubuntu 4.13.0-38

Starting from 4.13.0-38 the ubuntu kernel backport a kvm instrumentation change introduced in 4.15 which affects the prototype of the kvm_mmio event.

---
 instrumentation/events/lttng-module/kvm.h | 2 ++
 1 file changed, 2 insertions(+)
instrumentation/events/lttng-module/kvm.h +2 -0
index 8f9a132..c419f9c 100644
@@ -92,6 +92,8 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq,
 	|| LTTNG_KERNEL_RANGE(4,1,50, 4,2,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,0,0) \
+	|| LTTNG_UBUNTU_KERNEL_RANGE(4,14,0,0, 4,15,0,0) \
 	|| LTTNG_DEBIAN_KERNEL_RANGE(4,9,65,0,3,0, 4,10,0,0,0,0) \
 	|| LTTNG_FEDORA_KERNEL_RANGE(4,14,13,300, 4,15,0,0))
 
Signature · 6 lines
2.14.1

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 14 lines · ----- On Mar 23, 2018, at 11:55 AM, Khalid Elmously…

Starting from 4.13.0-38 the ubuntu kernel backport a kvm instrumentation change introduced in 4.15 which affects the prototype of the kvm_mmio event.

---
instrumentation/events/lttng-module/kvm.h | 2 ++

1 file changed, 2 insertions(+)
instrumentation/events/lttng-module/kvm.h +0 -0
index 8f9a132..c419f9c 100644

instrumentation/events/lttng-module/kvm.h LTTNG_TRACEPOINT_EVENT(kvm_ack_irq, · line 96

Quoted 5 lines
instrumentation/events/lttng-module/kvm.h +2 -0
@@ -92,6 +92,8 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq,
 	|| LTTNG_KERNEL_RANGE(4,1,50, 4,2,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,0,0) \
+	|| LTTNG_UBUNTU_KERNEL_RANGE(4,14,0,0, 4,15,0,0) \

Is it really all Ubuntu kernels from 4.14.0 to 4.15.0 that are affected ? I suspect that it does not start at .0.

Thanks,

Mathieu

Quoted 10 lines
instrumentation/events/lttng-module/kvm.h +0 -1
 	|| LTTNG_DEBIAN_KERNEL_RANGE(4,9,65,0,3,0, 4,10,0,0,0,0) \
 	|| LTTNG_FEDORA_KERNEL_RANGE(4,14,13,300, 4,15,0,0))
 
--

2.14.1

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 10 lines · Mathieu Desnoyers
Quoted 8 lines · ----- On Mar 23, 2018, at 11:55 AM, Khalid Elmously…

Starting from 4.13.0-38 the ubuntu kernel backport a kvm instrumentation change introduced in 4.15 which affects the prototype of the kvm_mmio event.

---
instrumentation/events/lttng-module/kvm.h | 2 ++

1 file changed, 2 insertions(+)
Quoted 15 lines

instrumentation/events/lttng-module/kvm.h LTTNG_TRACEPOINT_EVENT(kvm_ack_irq, · line 96

Quoted 11 lines
instrumentation/events/lttng-module/kvm.h +2 -0
index 8f9a132..c419f9c 100644
@@ -92,6 +92,8 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq,
 	|| LTTNG_KERNEL_RANGE(4,1,50, 4,2,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,0,0) \
+	|| LTTNG_UBUNTU_KERNEL_RANGE(4,14,0,0, 4,15,0,0) \

Is it really all Ubuntu kernels from 4.14.0 to 4.15.0 that are affected ? I suspect that it does not start at .0.

Thanks. The third number (0 in this case) comes from the upstream linux-stable version number. If a Ubuntu 4.14.x.y kernel were ever to exist, it could conceivably start at x = 0 if it was based directly on Linus' 4.14 tag.

That being said, a Ubuntu 4.14.x.y kernel is only hypothetical as far as I know and probably won't ever exist so I have no issue with simply ignoring Ubuntu 4.14.x.y altogether.

Sending a v3 shortly, thanks.

Khalid.

Quoted 7 lines

Thanks,

Mathieu

Quoted 3 lines
instrumentation/events/lttng-module/kvm.h +0 -0
 	|| LTTNG_DEBIAN_KERNEL_RANGE(4,9,65,0,3,0, 4,10,0,0,0,0) \
 	|| LTTNG_FEDORA_KERNEL_RANGE(4,14,13,300, 4,15,0,0))
 
Quoted 12 lines
Quoted 7 lines

--
2.14.1

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

A message that is not in the archive (sent off-list or not yet received): 20180323172502.spffualjqv7souf5@kbuntu

#7 lore raw
Quoted 32 lines · ----- On Mar 23, 2018, at 1:25 PM, Khalid Elmously…
Quoted 11 lines · Mathieu Desnoyers

----- On Mar 23, 2018, at 11:55 AM, Khalid Elmously

Quoted 8 lines · [email protected] wrote:

Starting from 4.13.0-38 the ubuntu kernel backport a kvm instrumentation change introduced in 4.15 which affects the prototype of the kvm_mmio event.

---
instrumentation/events/lttng-module/kvm.h | 2 ++

1 file changed, 2 insertions(+)
Quoted 15 lines

instrumentation/events/lttng-module/kvm.h LTTNG_TRACEPOINT_EVENT(kvm_ack_irq, · line 96

Quoted 11 lines
instrumentation/events/lttng-module/kvm.h +2 -0
index 8f9a132..c419f9c 100644
@@ -92,6 +92,8 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq,
 	|| LTTNG_KERNEL_RANGE(4,1,50, 4,2,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,0,0) \
+	|| LTTNG_UBUNTU_KERNEL_RANGE(4,14,0,0, 4,15,0,0) \

Is it really all Ubuntu kernels from 4.14.0 to 4.15.0 that are affected ? I suspect that it does not start at .0.

Thanks. The third number (0 in this case) comes from the upstream linux-stable version number. If a Ubuntu 4.14.x.y kernel were ever to exist, it could conceivably start at x = 0 if it was based directly on Linus' 4.14 tag.

Quoted 5 lines

That being said, a Ubuntu 4.14.x.y kernel is only hypothetical as far as I know and probably won't ever exist so I have no issue with simply ignoring Ubuntu 4.14.x.y altogether.

Sending a v3 shortly, thanks.

Indeed, we only target existing, released distro kernel versions. Otherwise it's the vanilla kernel version range that handles it.

Thanks,

Mathieu

Quoted 24 lines

Khalid.

Quoted 19 lines

Thanks,

Mathieu

Quoted 10 lines
instrumentation/events/lttng-module/kvm.h +0 -1
 	|| LTTNG_DEBIAN_KERNEL_RANGE(4,9,65,0,3,0, 4,10,0,0,0,0) \
 	|| LTTNG_FEDORA_KERNEL_RANGE(4,14,13,300, 4,15,0,0))
 
--

2.14.1

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
#8 lore raw

PATCH v3 1/1 Update: kvm instrumentation for ubuntu 4.13.0-38

In reply to a message not in the archive

Starting from 4.13.0-38 the ubuntu kernel backport a kvm instrumentation change introduced in 4.15 which affects the prototype of the kvm_mmio event.

---
 instrumentation/events/lttng-module/kvm.h | 1 +
 1 file changed, 1 insertion(+)
instrumentation/events/lttng-module/kvm.h +1 -0
index 8f9a132..a5982c9 100644
@@ -92,6 +92,7 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq,
 	|| LTTNG_KERNEL_RANGE(4,1,50, 4,2,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,0,0) \
 	|| LTTNG_DEBIAN_KERNEL_RANGE(4,9,65,0,3,0, 4,10,0,0,0,0) \
 	|| LTTNG_FEDORA_KERNEL_RANGE(4,14,13,300, 4,15,0,0))
 
Signature · 6 lines
2.14.1

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw
Quoted 14 lines · ----- On Mar 23, 2018, at 1:28 PM, Khalid Elmously…

Starting from 4.13.0-38 the ubuntu kernel backport a kvm instrumentation change introduced in 4.15 which affects the prototype of the kvm_mmio event.

---
instrumentation/events/lttng-module/kvm.h | 1 +

1 file changed, 1 insertion(+)
instrumentation/events/lttng-module/kvm.h +0 -0
index 8f9a132..a5982c9 100644

instrumentation/events/lttng-module/kvm.h LTTNG_TRACEPOINT_EVENT(kvm_ack_irq, · line 97

Quoted 6 lines
instrumentation/events/lttng-module/kvm.h +1 -0
@@ -92,6 +92,7 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq,
 	|| LTTNG_KERNEL_RANGE(4,1,50, 4,2,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,0,0) \
 	|| LTTNG_DEBIAN_KERNEL_RANGE(4,9,65,0,3,0, 4,10,0,0,0,0) \
 	|| LTTNG_FEDORA_KERNEL_RANGE(4,14,13,300, 4,15,0,0))

The message is in base64 I think. Can you resend it in plain text ?

Thanks,

Mathieu

Quoted 8 lines
instrumentation/events/lttng-module/kvm.h +0 -1
--

2.14.1

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

A message that is not in the archive (sent off-list or not yet received): [email protected]

#12 lore raw
Quoted 10 lines · Mathieu Desnoyers
Quoted 8 lines · ----- On Mar 23, 2018, at 1:28 PM, Khalid Elmously…

Starting from 4.13.0-38 the ubuntu kernel backport a kvm instrumentation change introduced in 4.15 which affects the prototype of the kvm_mmio event.

---
instrumentation/events/lttng-module/kvm.h | 1 +

1 file changed, 1 insertion(+)
Quoted 14 lines

instrumentation/events/lttng-module/kvm.h LTTNG_TRACEPOINT_EVENT(kvm_ack_irq, · line 97

Quoted 12 lines
instrumentation/events/lttng-module/kvm.h +1 -0
index 8f9a132..a5982c9 100644
@@ -92,6 +92,7 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq,
 	|| LTTNG_KERNEL_RANGE(4,1,50, 4,2,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,0,0) \
 	|| LTTNG_DEBIAN_KERNEL_RANGE(4,9,65,0,3,0, 4,10,0,0,0,0) \
 	|| LTTNG_FEDORA_KERNEL_RANGE(4,14,13,300, 4,15,0,0))

The message is in base64 I think. Can you resend it in plain text ?

mutt tells me it's already in text/plain:

Date: Fri, 23 Mar 2018 13:28:03 -0400
X-Mailer: git-send-email 2.14.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=utf-8
Status: RO

But I will send v4 anyway just in case. You can also fetch git://git.launchpad.net/~kmously/ubuntu/+source/lttng 6a58acb68f813ac4922054d4acc3d92faf26077a

Thanks
-Khalid

Quoted 6 lines

Thanks,

Mathieu

Quoted 1 line
Quoted 12 lines
Quoted 7 lines

--
2.14.1

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev