Skip to content

tracing: Make more function graph tracer options per-instance

Steven Rostedt linux-trace-kernel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tracing: Have function graph tracer option funcgraph-irqs be per instancekernel/trace/trace_functions_graph.c+31 -100 replies
2/4tracing: Move graph-time out of function graph optionskernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_functions_graph.c+23 -140 replies
3/4tracing: Have function graph tracer option sleep-time be per instancekernel/trace/fgraph.c kernel/trace/ftrace.c kernel/trace/trace.h +1 more+60 -230 replies
4/4tracing: Convert function graph set_flags() to use a switch() statementkernel/trace/trace_functions_graph.c+7 -50 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] tracing: Make more function graph tracer options per-instance

Convert the function graph tracer options sleep-time and funcgraph-irqs into per instance options (as they currently are not consistent in affecting all instances).

Also make graph-time a top level option only, as it only affects the function profiler and not the function graph tracer itself.

Clean up the function graph tracer set_flags() to use a switch instead of a bunch of if statements.

Steven Rostedt (4):
tracing: Have function graph tracer option funcgraph-irqs be per instance
tracing: Move graph-time out of function graph options
tracing: Have function graph tracer option sleep-time be per instance
tracing: Convert function graph set_flags() to use a switch() statement

----

 kernel/trace/fgraph.c                |  10 +--
 kernel/trace/ftrace.c                |   4 +-
 kernel/trace/trace.c                 |  14 +++--
 kernel/trace/trace.h                 |  18 ++++--
 kernel/trace/trace_functions_graph.c | 115 ++++++++++++++++++++++++++---------
 5 files changed, 115 insertions(+), 46 deletions(-)