lkml.org 
[lkml]   [2013]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/5] Add glob pattern matching support on trigger and kprobe-event
From
Date
Hi,

Here is a series of ftrace/perf updates to support multiple
event select operation by glob-based wild cards.
I've ported strglobmatch from perf-tools (with recursive call
limitation) for this use. It is easier to use (just replacing
strcmp) but slower than current parser-based matching.
I don't care about the speed of matching because the all of
the matching which I've introduced in this series are done
on slow-path.

---

Masami Hiramatsu (5):
[BUGFIX] tracing: Returns -EBUSY when event_enable_func fails to get module
perf: Reorder parameters of strglobmatch
lib/string: Add a generic wildcard string matching function
tracing/kprobes: Allow user to delete kprobe events by wild cards
tracing: Support enable/disable multiple events trigger by wild cards


Documentation/trace/ftrace.txt | 12 ++-
Documentation/trace/kprobetrace.txt | 19 +++--
include/linux/string.h | 8 ++
kernel/trace/trace_events.c | 121 +++++++++++++++++++++++++----------
kernel/trace/trace_kprobe.c | 97 ++++++++++++++++++++--------
lib/string.c | 91 ++++++++++++++++++++++++++
tools/perf/util/parse-events.c | 14 ++--
tools/perf/util/probe-event.c | 2 -
tools/perf/util/strfilter.c | 2 -
tools/perf/util/string.c | 16 ++---
tools/perf/util/util.h | 4 +
11 files changed, 295 insertions(+), 91 deletions(-)

--
Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
IT Management Research Dept. and Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory


\
 
 \ /
  Last update: 2013-05-16 15:42    [W:0.089 / U:1.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site