projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sched instrumentation for 4.1-rt11
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
sched.h
diff --git
a/instrumentation/events/lttng-module/sched.h
b/instrumentation/events/lttng-module/sched.h
index b6a13ce435c6637f81d1b1e8cf22376ac2944124..7adb0e0c5efd190efa0dbc8dc0f61e2747ad2ff0 100644
(file)
--- a/
instrumentation/events/lttng-module/sched.h
+++ b/
instrumentation/events/lttng-module/sched.h
@@
-145,7
+145,8
@@
LTTNG_TRACEPOINT_EVENT(sched_kthread_stop_ret,
/*
* Tracepoint for waking up a task:
*/
/*
* Tracepoint for waking up a task:
*/
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0) || \
+ LTTNG_RT_KERNEL_RANGE(4,1,10,11, 4,2,0,0))
LTTNG_TRACEPOINT_EVENT_CLASS(sched_wakeup_template,
TP_PROTO(struct task_struct *p),
LTTNG_TRACEPOINT_EVENT_CLASS(sched_wakeup_template,
TP_PROTO(struct task_struct *p),
@@
-184,7
+185,8
@@
LTTNG_TRACEPOINT_EVENT_CLASS(sched_wakeup_template,
)
#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0)) */
)
#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0)) */
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0) || \
+ LTTNG_RT_KERNEL_RANGE(4,1,10,11, 4,2,0,0))
/*
* Tracepoint called when waking a task; this tracepoint is guaranteed to be
/*
* Tracepoint called when waking a task; this tracepoint is guaranteed to be
This page took
0.024168 seconds
and
4
git commands to generate.