perf tools: Support tracepoint glob matching
authorMasami Hiramatsu <mhiramat@redhat.com>
Tue, 5 Jan 2010 22:47:17 +0000 (17:47 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 Jan 2010 09:09:13 +0000 (10:09 +0100)
commitfb1d2edf7ee25a26ad0b238d0ee335a3b28b7aa3
treeeff3d2dc8fe865ecacda8733f9bf60d035626246
parent72041334b8c75ae7e1da2f17ba2b7afee8f2abd7
perf tools: Support tracepoint glob matching

Support glob wildcard when selecting tracepoint events by -e
option. Without this patch, perf-tools supports 'GROUP:*:record'
syntax for selecting all tracepoints under GROUP group.

With this patch, user can choose tracepoints more flexibly by using
partial wildcards, e.g. 'block:*bio*:record'.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <20100105224717.19431.68972.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c