Commit 841ea8bb authored by Qais Yousef's avatar Qais Yousef Committed by Ionela Voinescu
Browse files

kmodule: Add update_time field to sched_load_se trace event



Record the PELT clock as used by the PELT computations to enable accurate
reproduction of the signal in LISA.
Signed-off-by: Douglas Raillard's avatarDouglas Raillard <douglas.raillard@arm.com>
Signed-off-by: Qais Yousef's avatarQais Yousef <qais.yousef@arm.com>
parent 8f13befb
......@@ -88,6 +88,7 @@ TRACE_EVENT(sched_load_se,
__field( unsigned long, load )
__field( unsigned long, rbl_load )
__field( unsigned long, util )
__field( unsigned long long, update_time )
),
TP_fast_assign(
......@@ -98,11 +99,12 @@ TRACE_EVENT(sched_load_se,
__entry->load = avg->load_avg;
__entry->rbl_load = avg->runnable_load_avg;
__entry->util = avg->util_avg;
__entry->update_time = avg->last_update_time;
),
TP_printk("cpu=%d path=%s comm=%s pid=%d load=%lu rbl_load=%lu util=%lu",
TP_printk("cpu=%d path=%s comm=%s pid=%d load=%lu rbl_load=%lu util=%lu update_time=%llu",
__entry->cpu, __entry->path, __entry->comm, __entry->pid,
__entry->load, __entry->rbl_load,__entry->util)
__entry->load, __entry->rbl_load,__entry->util, __entry->update_time)
);
TRACE_EVENT(sched_overutilized,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment