summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-06-20 11:42:36 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-21 15:12:06 -0700
commitee800fccbed6ff45ea3f37970154d41d4c3854a9 (patch)
tree3ea71f58dfbc3707e5ab88194976683031129b5d
parenta0da30d1baeb8341fbc1dd70880eb71577b7e0ea (diff)
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>
-rw-r--r--include/trace/events/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h
index bd17f241d4a5..2c69b5a3c2f4 100644
--- a/include/trace/events/sched.h
+++ b/include/trace/events/sched.h
@@ -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),