Skip to content

tracing: function graph output for wakeup tracer

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 5 repliesIn review

Changes in v2 from the cover letter

- librarized common functions from irqs/preemptoff tracers
- using local_save_flags instead disabling irqs to get the flags in wakeup_graph_return/wakeup_graph_entry

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing: proper check for irq_depth routineskernel/trace/trace_functions_graph.c+20 -43 replies
2/3tracing: librarize graph related irqs/preemptsoff callskernel/trace/trace.h kernel/trace/trace_functions_graph.c kernel/trace/trace_irqsoff.c+71 -521 reply
3/3tracing: graph support for wakeup tracerkernel/trace/trace_sched_wakeup.c+221 -101 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/3] tracing: function graph output for wakeup tracer

hi,

adding function graph output to irqsoff tracer. The graph output is enabled by setting new 'display-graph' trace option.

The v2 updates are based on comments by Frederic Weisbecker and Steven Rostedt, also rebased to latest master.

v2:
- librarized common functions from irqs/preemptoff tracers
- using local_save_flags instead disabling irqs to get the flags in wakeup_graph_return/wakeup_graph_entry

attached patches:
- 1/3 proper check for irq_depth routines
- 2/3 librarize graph related irqs/preempts off calls
- 3/3 graph support for wakeup tracer

plz let me know what you think

wbr,
jirka

---
 kernel/trace/trace.h                 |    4 +
 kernel/trace/trace_functions_graph.c |   87 ++++++++++++-
 kernel/trace/trace_irqsoff.c         |   56 +-------
 kernel/trace/trace_sched_wakeup.c    |  231 ++++++++++++++++++++++++++++++++--
 4 files changed, 312 insertions(+), 66 deletions(-)