perf probe: Accept multiple filter options
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Fri, 24 Apr 2015 09:47:48 +0000 (18:47 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 May 2015 15:43:55 +0000 (12:43 -0300)
commit96b55e39237b8bc92d8e6b96f896c106f2d39cf6
treeaeb9aac9ff869cb360d0507df44d986df2c0e720
parent3f51972c599cf95702819bd06a7a5412c523ebfe
perf probe: Accept multiple filter options

Accept multiple filter options. Each filters are combined by logical-or.
E.g. --filter abc* --filter *def is same as --filter abc*|*def

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20150424094748.23967.63355.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-probe.c