[for-next][PATCH 00/21] tracing: Updates for v5.7
From: Steven Rostedt
Date: Sun Mar 29 2020 - 14:43:21 EST
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next
Head SHA1: 2ab2a0924b9980551ebe1c47d2a402a94efc1835
Masami Hiramatsu (1):
ftrace/kprobe: Show the maxactive number on kprobe_events
Nathan Chancellor (1):
tracing: Use address-of operator on section symbols
Steven Rostedt (VMware) (19):
selftest/ftrace: Fix function trigger test to handle trace not disabling the tracer
tracing: Save off entry when peeking at next entry
ring-buffer: Have ring_buffer_empty() not depend on tracing stopped
ring-buffer: Rename ring_buffer_read() to read_buffer_iter_advance()
ring-buffer: Add page_stamp to iterator for synchronization
ring-buffer: Have rb_iter_head_event() handle concurrent writer
ring-buffer: Do not die if rb_iter_peek() fails more than thrice
ring-buffer: Optimize rb_iter_head_event()
ring-buffer: Make resize disable per cpu buffer instead of total buffer
ring-buffer: Do not disable recording when there is an iterator
tracing: Do not disable tracing when reading the trace file
ring-buffer/tracing: Have iterator acknowledge dropped events
tracing: Have the document reflect that the trace file keeps tracing enabled
ftrace: Make function trace pid filtering a bit more exact
ftrace: Create set_ftrace_notrace_pid to not trace tasks
tracing: Create set_event_notrace_pid to not trace tasks
selftests/ftrace: Add test to test new set_ftrace_notrace_pid file
selftests/ftrace: Add test to test new set_event_notrace_pid file
tracing: Add documentation on set_ftrace_notrace_pid and set_event_notrace_pid
----
Documentation/trace/ftrace.rst | 50 +++-
include/linux/ring_buffer.h | 4 +-
include/linux/trace_events.h | 2 +
kernel/trace/ftrace.c | 200 +++++++++++++--
kernel/trace/ring_buffer.c | 239 ++++++++++++------
kernel/trace/trace.c | 91 +++++--
kernel/trace/trace.h | 32 ++-
kernel/trace/trace_events.c | 280 ++++++++++++++++-----
kernel/trace/trace_functions_graph.c | 2 +-
kernel/trace/trace_kprobe.c | 2 +
kernel/trace/trace_output.c | 15 +-
.../selftests/ftrace/test.d/event/event-no-pid.tc | 125 +++++++++
.../test.d/ftrace/func-filter-notrace-pid.tc | 108 ++++++++
.../test.d/ftrace/func_traceonoff_triggers.tc | 2 +-
14 files changed, 954 insertions(+), 198 deletions(-)
create mode 100644 tools/testing/selftests/ftrace/test.d/event/event-no-pid.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/ftrace/func-filter-notrace-pid.tc