projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for RHEL 9.1
[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 ac91df12c7045e4e19e92eb24de8d33f6e134c34..6549fbdee81ae942994b9aa53c8812e82d964cad 100644
(file)
--- a/
instrumentation/events/lttng-module/sched.h
+++ b/
instrumentation/events/lttng-module/sched.h
@@
-20,7
+20,8
@@
#ifndef _TRACE_SCHED_DEF_
#define _TRACE_SCHED_DEF_
#ifndef _TRACE_SCHED_DEF_
#define _TRACE_SCHED_DEF_
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0) \
+ || LTTNG_RHEL_KERNEL_RANGE(5,14,0,162,0,0, 5,15,0,0,0,0))
static inline long __trace_sched_switch_state(bool preempt,
unsigned int prev_state,
static inline long __trace_sched_switch_state(bool preempt,
unsigned int prev_state,
@@
-352,7
+353,8
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE(sched_wakeup_template, sched_wakeup_new,
* Tracepoint for task switches, performed by the scheduler:
*/
* Tracepoint for task switches, performed by the scheduler:
*/
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0) \
+ || LTTNG_RHEL_KERNEL_RANGE(5,14,0,162,0,0, 5,15,0,0,0,0))
LTTNG_TRACEPOINT_EVENT(sched_switch,
TP_PROTO(bool preempt,
LTTNG_TRACEPOINT_EVENT(sched_switch,
TP_PROTO(bool preempt,
This page took
0.024314 seconds
and
4
git commands to generate.