fix: sched/tracing: Append prev_state to tp args instead (v5.18)
[lttng-modules.git] / instrumentation / events / lttng-module / sched.h
index 492472860dc033daf19d7da052f8fa54426bdabd..ac91df12c7045e4e19e92eb24de8d33f6e134c34 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.024738 seconds and 4 git commands to generate.