Skip to contentSkip to conversation

Update compaction instrumentation for 3.14.x stable kernels

PATCH Mathieu Desnoyers 1 participant 1 message Dec 11, 2014 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]

Mathieu Desnoyers

author Applied
#1 lore raw

Merged into master, stable-2.6, stable-2.5, stable-2.4, thanks!

Mathieu

----- Original Message -----

Quoted 43 lines

From: "Simon Marchi" <[email protected]>
To: [email protected]
Sent: Sunday, December 7, 2014 12:14:19 PM
Subject: [lttng-dev] [PATCH lttng-modules] Update compaction instrumentation for 3.14.x stable kernels

Conditional compilation introduced by lttng-modules commit

0007344741ef65259bc52dea72259173dfbf96c0

needs to be applied to kernels 3.14.25 and up in the 3.14.x branch.

---
 instrumentation/events/lttng-module/compaction.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
instrumentation/events/lttng-module/compaction.h +0 -0
index ee23aa9..773a6ad 100644
@@ -46,7 +46,8 @@
 LTTNG_TRACEPOINT_EVENT_INSTANCE(mm_compaction_isolate_template,

mm_compaction_is

instrumentation/events/lttng-module/compaction.h +2 -2
 	TP_ARGS(nr_scanned, nr_taken)
 )
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0))
+#if LTTNG_KERNEL_RANGE(3,14,25, 3,15,0) || \
+	(LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0))
 LTTNG_TRACEPOINT_EVENT(mm_compaction_migratepages,
 
 	TP_PROTO(unsigned long nr_all,
--

2.1.3

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

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

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