projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c6dbce
)
tracing: Show more info for funcgraph wakeup tracers
author
Changbin Du
<
[email protected]
>
Tue, 1 Jan 2019 15:46:11 +0000
(23:46 +0800)
committer
Steven Rostedt (VMware)
<
[email protected]
>
Wed, 6 Feb 2019 16:56:19 +0000
(11:56 -0500)
Add these info fields to funcgraph wakeup tracers:
o Show CPU info since the waker could be on a different CPU.
o Show function duration and overhead.
o Show IRQ markers.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Changbin Du <
[email protected]
>
Signed-off-by: Steven Rostedt (VMware) <
[email protected]
>
kernel/trace/trace_sched_wakeup.c
patch
|
blob
|
history
diff --git
a/kernel/trace/trace_sched_wakeup.c
b/kernel/trace/trace_sched_wakeup.c
index b6c5fa10347ebd4999f971f82dd069a0ba8943ec..da5b6e01284079437b66cf4645578d4532699758 100644
(file)
--- a/
kernel/trace/trace_sched_wakeup.c
+++ b/
kernel/trace/trace_sched_wakeup.c
@@
-180,8
+180,11
@@
static void wakeup_trace_close(struct trace_iterator *iter)
}
#define GRAPH_TRACER_FLAGS (TRACE_GRAPH_PRINT_PROC | \
+ TRACE_GRAPH_PRINT_CPU | \
TRACE_GRAPH_PRINT_REL_TIME | \
- TRACE_GRAPH_PRINT_DURATION)
+ TRACE_GRAPH_PRINT_DURATION | \
+ TRACE_GRAPH_PRINT_OVERHEAD | \
+ TRACE_GRAPH_PRINT_IRQS)
static enum print_line_t wakeup_print_line(struct trace_iterator *iter)
{