diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-09-26 14:43:13 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-09-26 14:45:16 -0300 |
commit | 1491a63218d0fd764e7fab13aa6b82164bfc14d6 (patch) | |
tree | a0a920ef84e3d405037f0a1c0fb6a11e1eb8cc6f /tools/perf/util/evlist.c | |
parent | perf test: Add test to check we correctly parse and match syscall open parms (diff) | |
download | linux-dev-1491a63218d0fd764e7fab13aa6b82164bfc14d6.tar.xz linux-dev-1491a63218d0fd764e7fab13aa6b82164bfc14d6.zip |
perf evlist: Renane set_filters method to apply_filters
Because that is what it really does, i.e. it applies the filters that
were parsed from the command line and stashed into the evsels they refer
to.
We'll need the set_filter method name to actually apply a filter to all
the evsels in an evlist, for instance, to ask that a syswide tracer
doesn't trace itself.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-v9x3q9rv4caxtox7wtjpchq5@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evlist.c')
-rw-r--r-- | tools/perf/util/evlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index 704bd91ce05d..c3ec7878985b 100644 --- a/tools/perf/util/evlist.c +++ b/tools/perf/util/evlist.c @@ -666,7 +666,7 @@ void perf_evlist__delete_maps(struct perf_evlist *evlist) evlist->threads = NULL; } -int perf_evlist__set_filters(struct perf_evlist *evlist) +int perf_evlist__apply_filters(struct perf_evlist *evlist) { const struct thread_map *threads = evlist->threads; const struct cpu_map *cpus = evlist->cpus; |