projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tracing/perf: Expand TRACE_EVENT(sched_stat_runtime)
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
include
/
trace
/
events
/
sched.h
diff --git
a/include/trace/events/sched.h
b/include/trace/events/sched.h
index
e5586ca
..
249c024
100644
(file)
--- a/
include/trace/events/sched.h
+++ b/
include/trace/events/sched.h
@@
-372,7
+372,7
@@
DEFINE_EVENT(sched_stat_template, sched_stat_blocked,
* Tracepoint for accounting runtime (time the task is executing
* on a CPU).
*/
* Tracepoint for accounting runtime (time the task is executing
* on a CPU).
*/
-
TRACE_EVENT
(sched_stat_runtime,
+
DECLARE_EVENT_CLASS
(sched_stat_runtime,
TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime),
TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime),
@@
-401,6
+401,10
@@
TRACE_EVENT(sched_stat_runtime,
(unsigned long long)__entry->vruntime)
);
(unsigned long long)__entry->vruntime)
);
+DEFINE_EVENT(sched_stat_runtime, sched_stat_runtime,
+ TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime),
+ TP_ARGS(tsk, runtime, vruntime));
+
/*
* Tracepoint for showing priority inheritance modifying a tasks
* priority.
/*
* Tracepoint for showing priority inheritance modifying a tasks
* priority.