mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
perf evlist: Use the right prefix for 'struct evlist' 'filter' methods
perf_evlist__ is for 'struct perf_evlist' methods, in tools/lib/perf/, go on completing this split. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
ade9d208d6
commit
24bf91a754
5 changed files with 24 additions and 24 deletions
|
@ -3666,7 +3666,7 @@ static int trace__set_filter_loop_pids(struct trace *trace)
|
|||
thread = parent;
|
||||
}
|
||||
|
||||
err = perf_evlist__append_tp_filter_pids(trace->evlist, nr, pids);
|
||||
err = evlist__append_tp_filter_pids(trace->evlist, nr, pids);
|
||||
if (!err && trace->filter_pids.map)
|
||||
err = bpf_map__set_filter_pids(trace->filter_pids.map, nr, pids);
|
||||
|
||||
|
@ -3683,8 +3683,8 @@ static int trace__set_filter_pids(struct trace *trace)
|
|||
* we fork the workload in evlist__prepare_workload.
|
||||
*/
|
||||
if (trace->filter_pids.nr > 0) {
|
||||
err = perf_evlist__append_tp_filter_pids(trace->evlist, trace->filter_pids.nr,
|
||||
trace->filter_pids.entries);
|
||||
err = evlist__append_tp_filter_pids(trace->evlist, trace->filter_pids.nr,
|
||||
trace->filter_pids.entries);
|
||||
if (!err && trace->filter_pids.map) {
|
||||
err = bpf_map__set_filter_pids(trace->filter_pids.map, trace->filter_pids.nr,
|
||||
trace->filter_pids.entries);
|
||||
|
@ -4027,7 +4027,7 @@ static int trace__run(struct trace *trace, int argc, const char **argv)
|
|||
err = trace__expand_filters(trace, &evsel);
|
||||
if (err)
|
||||
goto out_delete_evlist;
|
||||
err = perf_evlist__apply_filters(evlist, &evsel);
|
||||
err = evlist__apply_filters(evlist, &evsel);
|
||||
if (err < 0)
|
||||
goto out_error_apply_filters;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue