fix: sched/tracing: Append prev_state to tp args instead (v5.18)
[lttng-modules.git] / include / instrumentation / events / sched.h
index 339bec945d3efd84db562934fcb358384d4b2eea..c1c3df15c2617b23aa42fb09dbadcf3577e2e7a8 100644 (file)
@@ -356,11 +356,11 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(sched_wakeup_template, sched_wakeup_new,
 LTTNG_TRACEPOINT_EVENT(sched_switch,
 
        TP_PROTO(bool preempt,
-               unsigned int prev_state,
                struct task_struct *prev,
-               struct task_struct *next),
+               struct task_struct *next,
+               unsigned int prev_state),
 
-       TP_ARGS(preempt, prev_state, prev, next),
+       TP_ARGS(preempt, prev, next, prev_state),
 
        TP_FIELDS(
                ctf_array_text(char, prev_comm, prev->comm, TASK_COMM_LEN)
This page took 0.023284 seconds and 4 git commands to generate.