[PATCH 0/7] [GIT PULL] tracing: Various fixes for v4.18-rc6
From: Steven Rostedt
Date: Thu Jul 26 2018 - 19:07:26 EST
Linus,
Various fixes to the tracing infrastructure:
- Fix double free when the reg() call fails in event_trigger_callback()
- Fix anomoly of snapshot causing tracing_on flag to change
- Add selftest to test snapshot and tracing_on affecting each other
- Fix setting of tracepoint flag on error that prevents probes from
being deleted.
- Fix another possible double free that is similar to event_trigger_callback()
- Quiet a gcc warning of a false positive unused variable
- Fix crash of partial exposed task->comm to trace events
Please pull the latest trace-v4.18-rc6 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-v4.18-rc6
Tag SHA1: bdddc1d679612af275e349e6cd6b223c0d4cb825
Head SHA1: 3e536e222f2930534c252c1cc7ae799c725c5ff9
Artem Savkov (1):
tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failure
Masami Hiramatsu (2):
ring_buffer: tracing: Inherit the tracing setting to next ring buffer
selftests/ftrace: Add snapshot and tracing_on test case
Snild Dolkow (1):
kthread, tracing: Don't expose half-written comm when creating kthreads
Steven Rostedt (VMware) (3):
tracing: Fix double free of event_trigger_data
tracing: Fix possible double free in event_enable_trigger_func()
tracing: Quiet gcc warning about maybe unused link variable
----
include/linux/ring_buffer.h | 1 +
kernel/kthread.c | 8 ++++++-
kernel/trace/ring_buffer.c | 16 +++++++++++++
kernel/trace/trace.c | 6 +++++
kernel/trace/trace_events_trigger.c | 18 ++++++++++----
kernel/trace/trace_kprobe.c | 15 ++++++++++--
.../selftests/ftrace/test.d/00basic/snapshot.tc | 28 ++++++++++++++++++++++
7 files changed, 84 insertions(+), 8 deletions(-)
create mode 100644 tools/testing/selftests/ftrace/test.d/00basic/snapshot.tc