From: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> To: linux-kernel@vger.kernel.org, Steven Rostedt <rostedt@goodmis.org> Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>, Frederic Weisbecker <fweisbec@gmail.com>, yrl.pp-manager.tt@hitachi.com, Oleg Nesterov <oleg@redhat.com>, Ingo Molnar <mingo@redhat.com>, Tom Zanussi <tom.zanussi@intel.com> Subject: [PATCH 0/5] Add glob pattern matching support on trigger and kprobe-event Date: Thu, 16 May 2013 20:48:40 +0900 [thread overview] Message-ID: <20130516114839.13508.92844.stgit@mhiramat-M0-7522> (raw) 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
next reply other threads:[~2013-05-16 11:51 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-05-16 11:48 Masami Hiramatsu [this message] 2013-05-16 11:48 ` [PATCH 1/5] [BUGFIX] tracing: Returns -EBUSY when event_enable_func fails to get module Masami Hiramatsu 2013-05-16 14:58 ` Steven Rostedt 2013-05-16 11:48 ` [PATCH 2/5] perf: Reorder parameters of strglobmatch Masami Hiramatsu 2013-05-16 14:55 ` Steven Rostedt 2013-05-17 2:21 ` Masami Hiramatsu 2013-05-21 9:19 ` Arnaldo Carvalho de Melo 2013-05-21 9:49 ` Masami Hiramatsu 2013-05-16 11:48 ` [PATCH 3/5] lib/string: Add a generic wildcard string matching function Masami Hiramatsu 2013-05-16 11:48 ` [PATCH 4/5] tracing/kprobes: Allow user to delete kprobe events by wild cards Masami Hiramatsu 2013-05-16 11:49 ` [PATCH 5/5] tracing: Support enable/disable multiple events trigger " Masami Hiramatsu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20130516114839.13508.92844.stgit@mhiramat-M0-7522 \ --to=masami.hiramatsu.pt@hitachi.com \ --cc=fweisbec@gmail.com \ --cc=linux-kernel@vger.kernel.org \ --cc=mingo@redhat.com \ --cc=oleg@redhat.com \ --cc=rostedt@goodmis.org \ --cc=srikar@linux.vnet.ibm.com \ --cc=tom.zanussi@intel.com \ --cc=yrl.pp-manager.tt@hitachi.com \ --subject='Re: [PATCH 0/5] Add glob pattern matching support on trigger and kprobe-event' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.