[PATCH 0/3] tracing: add support for multibuffer event filters

From: Tom Zanussi
Date: Thu Oct 24 2013 - 09:34:27 EST


The three patches in this patchset are essentially the same patches
that have already been reviewed as part of the trace-event-triggers
patchset, but are separated out because they're actually completely
independent of that patchset and could presumably go into tracing-next
at this point.

In the original patchset, these patches came later in the series;
moving them up I had to fix up a few conflicts and assumptions from
their position in the previous patchset. The only real difference is
that for patch 1 I added TRACE_EVENT_FL_USE_CALL_FILTER to the flags,
which patch 3 removes since it adds trace_event_files for syscalls.

Basically when ftrace multibuffer support was added, the event filters
were neglected and this patchset fixes that. Also when soft-disable
was added, it didn't cover syscalls - this adds that and in the
process by virtue of using ftrace_event_files, also enables
multibuffer event filter support for syscalls as a nice side effect.

The following changes since commit 29ad23b00474c34e3b5040dda508c78d33a1a3eb:

ftrace: Add set_graph_notrace filter (2013-10-18 22:23:16 -0400)

are available in the git repository at:

git://git.yoctoproject.org/linux-yocto-contrib.git tzanussi/tracing-multibuffer-filters
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-contrib/log/?h=tzanussi/tracing-multibuffer-filters

Tom Zanussi (3):
tracing: Update event filters for multibuffer
tracing: Make register/unregister_ftrace_command __init
tracing: Add support for SOFT_DISABLE to syscall events

include/linux/ftrace.h | 4 +-
include/linux/ftrace_event.h | 25 +++-
include/linux/syscalls.h | 4 +-
include/trace/ftrace.h | 7 +-
kernel/trace/ftrace.c | 12 +-
kernel/trace/trace.c | 44 +++++--
kernel/trace/trace.h | 22 +---
kernel/trace/trace_branch.c | 2 +-
kernel/trace/trace_events.c | 23 ++--
kernel/trace/trace_events_filter.c | 218 ++++++++++++++++++++++++++++-------
kernel/trace/trace_export.c | 2 +-
kernel/trace/trace_functions_graph.c | 4 +-
kernel/trace/trace_kprobe.c | 4 +-
kernel/trace/trace_mmiotrace.c | 4 +-
kernel/trace/trace_sched_switch.c | 4 +-
kernel/trace/trace_syscalls.c | 42 +++++--
kernel/trace/trace_uprobe.c | 3 +-
17 files changed, 308 insertions(+), 116 deletions(-)

--
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/