sched/walt: print all history samples

The history samples were recently increased from 5 to 8. Reflect the
same in the trace outputs to print out all 8 history samples.

Change-Id: Ib79dbd193a643bf65c056d2f1cc0ba357ce3cdaa
Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
This commit is contained in:
Shaleen Agrawal 2022-03-24 20:34:55 -07:00 committed by Rishabh Bhatnagar
parent 40a3bf6633
commit 9811092a16

View File

@ -103,14 +103,17 @@ TRACE_EVENT(sched_update_history,
__entry->cpu = rq->cpu;
),
TP_printk("%d (%s): runtime %u samples %d event %s demand %u coloc_demand %u pred_demand_scaled %u (hist: %u %u %u %u %u) cpu %d nr_big %u",
TP_printk("%d (%s): runtime %u samples %d event %s demand %u (hist: %u %u %u %u %u %u %u %u) coloc_demand %u pred_demand_scaled %u cpu %d nr_big %u",
__entry->pid, __entry->comm,
__entry->runtime, __entry->samples,
task_event_names[__entry->evt],
__entry->demand, __entry->coloc_demand, __entry->pred_demand_scaled,
__entry->demand,
__entry->hist[0], __entry->hist[1],
__entry->hist[2], __entry->hist[3],
__entry->hist[4], __entry->cpu, __entry->nr_big_tasks)
__entry->hist[4], __entry->hist[5],
__entry->hist[6], __entry->hist[7],
__entry->coloc_demand, __entry->pred_demand_scaled,
__entry->cpu, __entry->nr_big_tasks)
);
TRACE_EVENT(sched_get_task_cpu_cycles,