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]
/
include
/
instrumentation
/
events
/
sched.h
diff --git
a/include/instrumentation/events/sched.h
b/include/instrumentation/events/sched.h
index a08495e81acfd14fa1174c7cb84d41225a0d7b99..f6f258ad5de2e91185b4baf1ddc55b1f31fc007a 100644
(file)
--- a/
include/instrumentation/events/sched.h
+++ b/
include/instrumentation/events/sched.h
@@
-17,7
+17,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,
@@
-222,7
+223,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.023961 seconds
and
4
git commands to generate.