diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-11-06 17:02:33 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-11-21 12:00:31 -0300 |
commit | 7ad92a3371e1536a2dddf68337015569c4917170 (patch) | |
tree | 4affa9e0ee3e087cd63a782eda3f229bb8790949 /tools/perf/builtin-trace.c | |
parent | ed9a77ba7703f7da8f106d241cd0c734f8664b4d (diff) | |
download | lwn-7ad92a3371e1536a2dddf68337015569c4917170.tar.gz lwn-7ad92a3371e1536a2dddf68337015569c4917170.zip |
perf evlist: Rename perf_evlist__set_filter* to perf_evlist__set_tp_filter*
To better reflect that this is a tracepoint filter, as opposed, for
instance to map based BPF filters.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-9138svli6ddcphrr3ymy9oy3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 835619476370..d86ba17fcf44 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c @@ -2586,7 +2586,7 @@ static int trace__set_filter_loop_pids(struct trace *trace) thread = parent; } - return perf_evlist__set_filter_pids(trace->evlist, nr, pids); + return perf_evlist__set_tp_filter_pids(trace->evlist, nr, pids); } static int trace__run(struct trace *trace, int argc, const char **argv) @@ -2702,7 +2702,7 @@ static int trace__run(struct trace *trace, int argc, const char **argv) * we fork the workload in perf_evlist__prepare_workload. */ if (trace->filter_pids.nr > 0) - err = perf_evlist__set_filter_pids(evlist, trace->filter_pids.nr, trace->filter_pids.entries); + err = perf_evlist__set_tp_filter_pids(evlist, trace->filter_pids.nr, trace->filter_pids.entries); else if (thread_map__pid(evlist->threads, 0) == -1) err = trace__set_filter_loop_pids(trace); |