sched: fix incorrect type casting in trace events
CPU cycles and execution time are in u64. Change-Id: Ifb3ce3fd2c5c6bf4d658137214b73659a60fd9d7 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
This commit is contained in:
parent
a0da30d1ba
commit
ee800fccbe
1 changed files with 2 additions and 2 deletions
|
@ -271,7 +271,7 @@ TRACE_EVENT(sched_set_boost,
|
|||
TRACE_EVENT(sched_update_task_ravg,
|
||||
|
||||
TP_PROTO(struct task_struct *p, struct rq *rq, enum task_event evt,
|
||||
u64 wallclock, u64 irqtime, u32 cycles, u32 exec_time,
|
||||
u64 wallclock, u64 irqtime, u64 cycles, u64 exec_time,
|
||||
struct group_cpu_time *cpu_time),
|
||||
|
||||
TP_ARGS(p, rq, evt, wallclock, irqtime, cycles, exec_time, cpu_time),
|
||||
|
@ -361,7 +361,7 @@ TRACE_EVENT(sched_update_task_ravg,
|
|||
|
||||
TRACE_EVENT(sched_get_task_cpu_cycles,
|
||||
|
||||
TP_PROTO(int cpu, int event, u64 cycles, u32 exec_time),
|
||||
TP_PROTO(int cpu, int event, u64 cycles, u64 exec_time),
|
||||
|
||||
TP_ARGS(cpu, event, cycles, exec_time),
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue