[for-next][PATCH 00/30] tracing: Updates for the next merge window
From: Steven Rostedt
Date: Wed Dec 05 2018 - 18:51:04 EST
Note, I still have more in my queue that need to go through testing.
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next
Head SHA1: e007f5165a2e366579324062a69e56236a97fad3
Dan Carpenter (1):
tracing: Have trace_stack nr_entries compare not be so subtle
Joe Lawrence (1):
scripts/recordmcount.{c,pl}: support -ffunction-sections .text.* section names
Masami Hiramatsu (11):
tracing/uprobes: Add busy check when cleanup all uprobes
tracing: Lock event_mutex before synth_event_mutex
tracing: Simplify creation and deletion of synthetic events
tracing: Integrate similar probe argument parsers
tracing: Add unified dynamic event framework
tracing/kprobes: Use dyn_event framework for kprobe events
tracing/uprobes: Use dyn_event framework for uprobe events
tracing: Use dyn_event framework for synthetic events
tracing: Remove unneeded synth_event_mutex
tracing: Add generic event-name based remove event method
selftests/ftrace: Add testcases for dynamic event
Steven Rostedt (VMware) (17):
function_graph: Remove unused task_curr_ret_stack()
tracing: Do not line wrap short line in function_graph_enter()
fgraph: Create a fgraph.c file to store function graph infrastructure
fgraph: Have set_graph_notrace only affect function_graph tracer
arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH
function_graph: Remove the use of FTRACE_NOTRACE_DEPTH
ftrace: Create new ftrace_internal.h header
function_graph: Do not expose the graph_time option when profiler is not configured
fgraph: Move function graph specific code into fgraph.c
tracing: Rearrange functions in trace_sched_wakeup.c
fgraph: Add new fgraph_ops structure to enable function graph hooks
function_graph: Move ftrace_graph_ret_addr() to fgraph.c
function_graph: Have profiler use new helper ftrace_graph_get_ret_stack()
ring-buffer: Add percentage of ring buffer full to wake up reader
tracing: Add tracefs file buffer_percentage
tracing: Change default buffer_percent to 50
tracing: Consolidate trace_add/remove_event_call back to the nolock functions
----
Documentation/trace/kprobetrace.rst | 3 +
Documentation/trace/uprobetracer.rst | 4 +
arch/arm64/kernel/stacktrace.c | 3 -
include/linux/ftrace.h | 35 +-
include/linux/ring_buffer.h | 4 +-
kernel/trace/Kconfig | 6 +
kernel/trace/Makefile | 2 +
kernel/trace/fgraph.c | 615 +++++++++++++++++++++
kernel/trace/ftrace.c | 471 ++--------------
kernel/trace/ftrace_internal.h | 75 +++
kernel/trace/ring_buffer.c | 94 +++-
kernel/trace/trace.c | 72 ++-
kernel/trace/trace.h | 13 +
kernel/trace/trace_dynevent.c | 217 ++++++++
kernel/trace/trace_dynevent.h | 119 ++++
kernel/trace/trace_events.c | 8 +-
kernel/trace/trace_events_hist.c | 316 ++++++-----
kernel/trace/trace_functions_graph.c | 334 ++---------
kernel/trace/trace_irqsoff.c | 18 +-
kernel/trace/trace_kprobe.c | 353 ++++++------
kernel/trace/trace_probe.c | 74 ++-
kernel/trace/trace_probe.h | 9 +-
kernel/trace/trace_sched_wakeup.c | 270 +++++----
kernel/trace/trace_selftest.c | 8 +-
kernel/trace/trace_stack.c | 2 +-
kernel/trace/trace_uprobe.c | 301 +++++-----
scripts/recordmcount.c | 2 +-
scripts/recordmcount.pl | 13 +
.../ftrace/test.d/dynevent/add_remove_kprobe.tc | 30 +
.../ftrace/test.d/dynevent/add_remove_synth.tc | 27 +
.../ftrace/test.d/dynevent/clear_select_events.tc | 50 ++
.../ftrace/test.d/dynevent/generic_clear_event.tc | 49 ++
32 files changed, 2176 insertions(+), 1421 deletions(-)
create mode 100644 kernel/trace/fgraph.c
create mode 100644 kernel/trace/ftrace_internal.h
create mode 100644 kernel/trace/trace_dynevent.c
create mode 100644 kernel/trace/trace_dynevent.h
create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/add_remove_kprobe.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/add_remove_synth.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/clear_select_events.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/generic_clear_event.tc