[for-next][PATCH 0/9] tracing: ring-buffer selftest, cleanups, ftrace_dump() fix and document
From: Steven Rostedt
Date: Fri Mar 15 2013 - 23:32:04 EST
One more linux-next patch series.
The first patch is a ring buffer boot time selftest. A bug in my development
code looked like the ring buffer was dropping events, and I wrote a test
to make sure that wasn't the case. The bug ended up being a stupid
mistake in my development code, but the ring buffer test seemed like a
good idea to include in the kernel as an option.
Next is a series of clean ups by Jovi.
Jovi also pointed out issues with ftrace_dump(). It's been on my todo
list to clean up ftrace_dump() for a long time, and finally decided
to do so. It wasn't hard and was quick to do. There was a long standing
bug where an NMI triggering a dump while another dump was happening
could cause a deadlock. I marked that patch for stable, but since its
really just a debugging tool and I don't recall ever hitting the deadlock
(I might have), I decided it can wait for 3.10 and I'll do the backports
when I get the "Failed to apply" messages from Greg Kroah-Hartman's
stable scripts.
Last patch brings the README file in debugfs/tracing/ up to date with
more useful information.
Enjoy!
-- Steve
Steven Rostedt (Red Hat) (3):
ring-buffer: Add ring buffer startup selftest
tracing: Fix ftrace_dump()
tracing: Update debugfs README file
zhangwei(Jovi) (6):
tracing: Use pr_warn_once instead of open coded implementation
tracing: Use TRACE_MAX_PRINT instead of constant
tracing: Move find_event_field() into trace_events.c
tracing: Convert trace_destroy_fields() to static
tracing: Fix comment about prefix in arch_syscall_match_sym_name()
tracing: Rename trace_event_mutex to trace_event_sem
----
kernel/trace/Kconfig | 23 +++
kernel/trace/ring_buffer.c | 319 ++++++++++++++++++++++++++++++++++++
kernel/trace/trace.c | 164 +++++++++++-------
kernel/trace/trace.h | 6 +-
kernel/trace/trace_events.c | 55 +++++--
kernel/trace/trace_events_filter.c | 29 +---
kernel/trace/trace_output.c | 16 +-
kernel/trace/trace_output.h | 2 +-
kernel/trace/trace_selftest.c | 9 +-
kernel/trace/trace_syscalls.c | 2 +-
10 files changed, 506 insertions(+), 119 deletions(-)
Attachment:
signature.asc
Description: This is a digitally signed message part