[PATCH 0/6] [GIT PULL] tracing: Various minor fixes
From: Steven Rostedt
Date: Thu Aug 24 2017 - 10:22:41 EST
Linus,
Various bug fixes:
- Two small memory leaks in error paths.
- A missed return error code on an error path.
- A fix to check the tracing ring buffer CPU when it doesn't
exist (caused by setting maxcpus on the command line that is less
than the actual number of CPUs, and then onlining them manually).
- A fix to have the reset of boot tracers called by lateinit_sync()
instead of just lateinit(). As some of the tracers register via
lateinit(), and if the clear happens before the tracer is registered,
it will never start even though it was told to via the kernel command
line.
Please pull the latest trace-v4.13-rc3 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-v4.13-rc3
Tag SHA1: 6826d804a3ff83a1da1bb9964234f3b306f28449
Head SHA1: 8b0db1a5bdfcee0dbfa89607672598ae203c9045
Chunyu Hu (1):
tracing: Fix kmemleak in tracing_map_array_free()
Dan Carpenter (1):
tracing: Missing error code in tracer_alloc_buffers()
Steven Rostedt (VMware) (4):
tracing: Call clear_boot_tracer() at lateinit_sync
ring-buffer: Have ring_buffer_alloc_read_page() return error on offline CPU
ftrace: Check for null ret_stack on profile function graph entry function
tracing: Fix freeing of filter in create_filter() when set_str is false
----
kernel/trace/ftrace.c | 4 ++++
kernel/trace/ring_buffer.c | 14 +++++++++-----
kernel/trace/ring_buffer_benchmark.c | 2 +-
kernel/trace/trace.c | 19 +++++++++++++------
kernel/trace/trace_events_filter.c | 4 ++++
kernel/trace/tracing_map.c | 11 +++++++----
6 files changed, 38 insertions(+), 16 deletions(-)