perf evsel: Introduce set_filter method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Jul 2015 20:05:50 +0000 (17:05 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 6 Jul 2015 13:46:36 +0000 (10:46 -0300)
commit12467ae4e37aab5e263cc9ab6b6909ae0588844c
tree4d14657427613c61d34639c9c006ee2dcfbb54d2
parentf47805a2af3ba83881ca52434bbbc6e9886b72fd
perf evsel: Introduce set_filter method

Replaces existing filter string with the one provided.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-jst49z83li0yx3g18o54u51a@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c
tools/perf/util/evsel.h
tools/perf/util/parse-events.c