aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2019-01-01 10:46:11 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-02-06 11:56:19 -0500
commit97f0a3bcdf34f66c2017bad51445eafef1224870 (patch)
tree6612d72e197f9b2ad481f974cc61c70aa3326116
parent6c6dbce196c201810348b6cef6fc5ec77d4d0973 (diff)
tracing: Show more info for funcgraph wakeup tracers
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/20190101154614.8887-3-changbin.du@gmail.com Signed-off-by: Changbin Du <changbin.du@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r--kernel/trace/trace_sched_wakeup.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c
index b6c5fa10347e..da5b6e012840 100644
--- 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)
180} 180}
181 181
182#define GRAPH_TRACER_FLAGS (TRACE_GRAPH_PRINT_PROC | \ 182#define GRAPH_TRACER_FLAGS (TRACE_GRAPH_PRINT_PROC | \
183 TRACE_GRAPH_PRINT_CPU | \
183 TRACE_GRAPH_PRINT_REL_TIME | \ 184 TRACE_GRAPH_PRINT_REL_TIME | \
184 TRACE_GRAPH_PRINT_DURATION) 185 TRACE_GRAPH_PRINT_DURATION | \
186 TRACE_GRAPH_PRINT_OVERHEAD | \
187 TRACE_GRAPH_PRINT_IRQS)
185 188
186static enum print_line_t wakeup_print_line(struct trace_iterator *iter) 189static enum print_line_t wakeup_print_line(struct trace_iterator *iter)
187{ 190{