X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fsched.h;h=ac91df12c7045e4e19e92eb24de8d33f6e134c34;hb=10ccd4327578d766737c25430104a21a4c7a4afa;hp=492472860dc033daf19d7da052f8fa54426bdabd;hpb=7b023c37000c5c29fb30b7b795e1da280f08cfe5;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h index 49247286..ac91df12 100644 --- a/instrumentation/events/lttng-module/sched.h +++ b/instrumentation/events/lttng-module/sched.h @@ -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)