Skip to content

tracing: Have instances have their own options + clean ups

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25kernel/trace_probe: is_good_name can be booleankernel/trace/trace_probe.h+4 -40 replies
2/25tracing: Move non perf code out of perf.hinclude/trace/perf.h include/trace/trace_events.h+258 -2580 replies
3/25tracing: Remove ftrace_trace_stack_regs()kernel/trace/trace.c kernel/trace/trace.h+14 -190 replies
4/25tracing: Remove unused function trace_current_buffer_lock_reserve()include/linux/trace_events.h kernel/trace/trace.c+0 -110 replies
5/25tracing: Pass trace_array into trace_buffer_unlock_commit()include/linux/trace_events.h kernel/trace/blktrace.c kernel/trace/trace.c +3 more+25 -240 replies
6/25tracing: Make ftrace_trace_stack() statickernel/trace/trace.c kernel/trace/trace.h+9 -90 replies
7/25tracing: Inject seq_print_userip_objs() into its only userkernel/trace/trace_output.c kernel/trace/trace_output.h+36 -470 replies
8/25tracing: Turn seq_print_user_ip() into a static functionkernel/trace/trace_output.c kernel/trace/trace_output.h+2 -40 replies
9/25tracing: Move "display-graph" option to main optionskernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_irqsoff.c +1 more+30 -640 replies
10/25tracing: Remove unused tracing option "ftrace_preempt"kernel/trace/trace.c kernel/trace/trace.h+16 -180 replies
11/25tracing: Use enums instead of hard coded bitmasks for TRACE_ITER flagskernel/trace/trace.h+55 -260 replies
12/25tracing: Use TRACE_FLAGS macro to keep enums and strings matchedkernel/trace/trace.c kernel/trace/trace.h+55 -830 replies
13/25tracing: Only create function graph options when it is compiled inkernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_irqsoff.c +1 more+32 -110 replies
14/25tracing: Only create branch tracer options when compiled inkernel/trace/trace.h+9 -20 replies
15/25tracing: Do not create function tracer options when not compiled inkernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_irqsoff.c +1 more+63 -220 replies
16/25tracing: Only create stacktrace option when STACKTRACE is configuredkernel/trace/trace.c kernel/trace/trace.h+23 -140 replies
17/25tracing: Always show all tracer options in the options directorykernel/trace/trace.c kernel/trace/trace.h+27 -340 replies
18/25tracing: Add build bug if we have more trace_flags than bitskernel/trace/trace.c kernel/trace/trace.h+11 -10 replies
19/25tracing: Remove access to trace_flags in trace_printk.ckernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_printk.c+14 -50 replies
20/25tracing: Move sleep-time and graph-time options out of the core trace_flagskernel/trace/ftrace.c kernel/trace/trace.c kernel/trace/trace.h +1 more+35 -100 replies
21/25tracing: Move trace_flags from global to a trace_array fieldkernel/trace/blktrace.c kernel/trace/trace.c kernel/trace/trace.h +7 more+135 -1010 replies
22/25tracing: Add a method to pass in trace_array descriptor to option fileskernel/trace/trace.c kernel/trace/trace.h+63 -70 replies
23/25tracing: Make ftrace_trace_stack() depend on general trace_array flagkernel/trace/trace.c kernel/trace/trace_events.c+16 -130 replies
24/25tracing: Add trace options for core options to instanceskernel/trace/trace.c+14 -50 replies
25/25tracing: Add trace options for tracer options to instanceskernel/trace/trace.c kernel/trace/trace.h+67 -220 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [for-next][PATCH 00/25] tracing: Have instances have their own options + clean ups

Adds an options directory in the instance directories. Some options are still global (the tracer specific ones). But formats are not.

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next

Head SHA1: 37aea98b84c0ce2ac638510fefeed9f8f920bd34

Steven Rostedt (Red Hat) (24):
tracing: Move non perf code out of perf.h
tracing: Remove ftrace_trace_stack_regs()
tracing: Remove unused function trace_current_buffer_lock_reserve()
tracing: Pass trace_array into trace_buffer_unlock_commit()
tracing: Make ftrace_trace_stack() static
tracing: Inject seq_print_userip_objs() into its only user
tracing: Turn seq_print_user_ip() into a static function
tracing: Move "display-graph" option to main options
tracing: Remove unused tracing option "ftrace_preempt"
tracing: Use enums instead of hard coded bitmasks for TRACE_ITER flags
tracing: Use TRACE_FLAGS macro to keep enums and strings matched
tracing: Only create function graph options when it is compiled in
tracing: Only create branch tracer options when compiled in
tracing: Do not create function tracer options when not compiled in
tracing: Only create stacktrace option when STACKTRACE is configured
tracing: Always show all tracer options in the options directory
tracing: Add build bug if we have more trace_flags than bits
tracing: Remove access to trace_flags in trace_printk.c
tracing: Move sleep-time and graph-time options out of the core trace_flags
tracing: Move trace_flags from global to a trace_array field
tracing: Add a method to pass in trace_array descriptor to option files
tracing: Make ftrace_trace_stack() depend on general trace_array flag
tracing: Add trace options for core options to instances
tracing: Add trace options for tracer options to instances

Yaowei Bai (1):
kernel/trace_probe: is_good_name can be boolean

----

 include/linux/trace_events.h         |  13 +-
 include/trace/perf.h                 | 258 ----------------------
 include/trace/trace_events.h         | 258 ++++++++++++++++++++++
 kernel/trace/blktrace.c              |  11 +-
 kernel/trace/ftrace.c                |  19 +-
 kernel/trace/trace.c                 | 403 ++++++++++++++++++++++-------------
 kernel/trace/trace.h                 | 154 ++++++++-----
 kernel/trace/trace_events.c          |  12 +-
 kernel/trace/trace_functions_graph.c |  63 ++++--
 kernel/trace/trace_irqsoff.c         |  98 +++++----
 kernel/trace/trace_kdb.c             |   8 +-
 kernel/trace/trace_mmiotrace.c       |   4 +-
 kernel/trace/trace_output.c          |  97 ++++-----
 kernel/trace/trace_output.h          |   4 -
 kernel/trace/trace_printk.c          |  14 +-
 kernel/trace/trace_probe.h           |   8 +-
 kernel/trace/trace_sched_wakeup.c    | 112 +++++-----
 kernel/trace/trace_syscalls.c        |   3 +-
 18 files changed, 869 insertions(+), 670 deletions(-)