perf tools: Improve strfilter to append additional rules
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Fri, 24 Apr 2015 09:47:44 +0000 (18:47 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 May 2015 15:43:53 +0000 (12:43 -0300)
commit4e60a2caefd1920867a84b978abc1eac118de596
tree9109b759706537d90a8e9f14192f3d1fc8af1540
parent3099c026002e97b8c173d9d0bbdfc39257d14402
perf tools: Improve strfilter to append additional rules

Add strfilter__or/and to append additional rules to existing strfilter.

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/20150424094744.23967.97614.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/strfilter.c
tools/perf/util/strfilter.h