diff options
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/sched.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h index a60fc80f66e3..7294f44da319 100644 --- a/include/trace/events/sched.h +++ b/include/trace/events/sched.h @@ -116,9 +116,9 @@ TRACE_EVENT(sched_enq_deq_task, TRACE_EVENT(sched_task_load, TP_PROTO(struct task_struct *p, int small_task, int boost, int reason, - int sync), + int sync, int prefer_idle), - TP_ARGS(p, small_task, boost, reason, sync), + TP_ARGS(p, small_task, boost, reason, sync, prefer_idle), TP_STRUCT__entry( __array( char, comm, TASK_COMM_LEN ) @@ -131,6 +131,7 @@ TRACE_EVENT(sched_task_load, __field( int, boost ) __field( int, reason ) __field( int, sync ) + __field( int, prefer_idle ) ), TP_fast_assign( @@ -144,13 +145,14 @@ TRACE_EVENT(sched_task_load, __entry->boost = boost; __entry->reason = reason; __entry->sync = sync; + __entry->prefer_idle = prefer_idle; ), - TP_printk("%d (%s): sum=%u, sum_scaled=%u, period=%u demand=%u small=%d boost=%d reason=%d sync=%d", + TP_printk("%d (%s): sum=%u, sum_scaled=%u, period=%u demand=%u small=%d boost=%d reason=%d sync=%d prefer_idle=%d", __entry->pid, __entry->comm, __entry->sum, __entry->sum_scaled, __entry->period, __entry->demand, __entry->small_task, __entry->boost, __entry->reason, - __entry->sync) + __entry->sync, __entry->prefer_idle) ); TRACE_EVENT(sched_cpu_load, |
