diff options
Diffstat (limited to 'samples/trace_events')
-rw-r--r-- | samples/trace_events/trace_custom_sched.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/trace_events/trace_custom_sched.h b/samples/trace_events/trace_custom_sched.h index a3d14de6a2e5..9fdd8e7c2a45 100644 --- a/samples/trace_events/trace_custom_sched.h +++ b/samples/trace_events/trace_custom_sched.h @@ -25,10 +25,11 @@ TRACE_CUSTOM_EVENT(sched_switch, * that the custom event is using. */ TP_PROTO(bool preempt, + unsigned int prev_state, struct task_struct *prev, struct task_struct *next), - TP_ARGS(preempt, prev, next), + TP_ARGS(preempt, prev_state, prev, next), /* * The next fields are where the customization happens. |