perf evsel: Rename perf_evsel__store_ids() to evsel__store_id()

As it is a 'struct evsel' method, not part of tools/lib/perf/, aka
libperf, to whom the perf_ prefix belongs.

Cc: Adrian Hunter <adrian.hunter@intel.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:
Arnaldo Carvalho de Melo 2020-05-04 13:45:19 -03:00
parent 6e6d1d654e
commit 343977534c
3 changed files with 3 additions and 3 deletions

View File

@ -636,7 +636,7 @@ try_again_reset:
stat_config.unit_width = l;
if (perf_evsel__should_store_id(counter) &&
perf_evsel__store_ids(counter, evsel_list))
evsel__store_ids(counter, evsel_list))
return -1;
}

View File

@ -2588,7 +2588,7 @@ static int store_evsel_ids(struct evsel *evsel, struct evlist *evlist)
return 0;
}
int perf_evsel__store_ids(struct evsel *evsel, struct evlist *evlist)
int evsel__store_ids(struct evsel *evsel, struct evlist *evlist)
{
struct perf_cpu_map *cpus = evsel->core.cpus;
struct perf_thread_map *threads = evsel->core.threads;

View File

@ -403,5 +403,5 @@ static inline bool evsel__has_br_stack(const struct evsel *evsel)
struct perf_env *evsel__env(struct evsel *evsel);
int perf_evsel__store_ids(struct evsel *evsel, struct evlist *evlist);
int evsel__store_ids(struct evsel *evsel, struct evlist *evlist);
#endif /* __PERF_EVSEL_H */