Skip to contentSkip to conversation

Fix: Add support for 4.9.27-rt18 kernel

PATCH Mathieu Desnoyers 2 participants 3 messages May 24, 2017 1 message not in the archive

lore
Share & tools
lore

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

#1 lore raw
Quoted 1 line · ----- On May 24, 2017, at 5:19 PM, Michael Jeanson [email protected] wrote:

It does not appear to apply cleanly to lttng-modules master branch, can you double-check ?

Thanks,

Mathieu

Quoted 21 lines

---
instrumentation/events/lttng-module/sched.h | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
instrumentation/events/lttng-module/sched.h +2 -2
index c68dd27..e6f36b1 100644
@@ -540,7 +540,8 @@ LTTNG_TRACEPOINT_EVENT(sched_stat_runtime,
 )
 #endif
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0) || \
+	LTTNG_RT_KERNEL_RANGE(4,9,27,18, 4,10,0,0))
 /*
 * Tracepoint for showing priority inheritance modifying a tasks
 * priority.
--

2.7.4

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
#2 lore raw
In reply to a message not in the archive
Quoted 11 lines · Michael Jeanson
---
 instrumentation/events/lttng-module/sched.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
instrumentation/events/lttng-module/sched.h +0 -0
index c68dd27..e6f36b1 100644

instrumentation/events/lttng-module/sched.h LTTNG_TRACEPOINT_EVENT(sched_stat_runtime, · line 547

Quoted 9 lines
instrumentation/events/lttng-module/sched.h +2 -1
@@ -540,7 +540,8 @@ LTTNG_TRACEPOINT_EVENT(sched_stat_runtime,
 )
 #endif
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0) || \
+	LTTNG_RT_KERNEL_RANGE(4,9,27,18, 4,10,0,0))
 /*
  * Tracepoint for showing priority inheritance modifying a tasks
  * priority.

It applies on top of "Fix: update sched instrumentation for kernel 4.12"

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

author Applied
#3 lore raw
In reply to a message not in the archive

Merged into master, 2.10, 2.9, 2.8.

Quoted 22 lines · ----- On May 24, 2017, at 5:19 PM, Michael Jeanson [email protected] wrote:

---
instrumentation/events/lttng-module/sched.h | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
instrumentation/events/lttng-module/sched.h +2 -2
index c68dd27..e6f36b1 100644
@@ -540,7 +540,8 @@ LTTNG_TRACEPOINT_EVENT(sched_stat_runtime,
 )
 #endif
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0) || \
+	LTTNG_RT_KERNEL_RANGE(4,9,27,18, 4,10,0,0))
 /*
 * Tracepoint for showing priority inheritance modifying a tasks
 * priority.
--

2.7.4

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