mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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:
parent
6e6d1d654e
commit
343977534c
|
|
@ -636,7 +636,7 @@ static int __run_perf_stat(int argc, const char **argv, int run_idx)
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user