diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index 188b2f9578560747987368a140f774c4f7de868c..b2a97196136456881c7585b52c1be85cab28e3fe 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c @@ -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; } diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 32d178a3f93352c47699b211ddb131557f554b84..f3e60c45d59ad0ab38444f836f8b721ff549bb80 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c @@ -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; diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index d76111c2d6a8e2f0220d93f22bae01d81d2b1f0d..351c0aaf2a11874eb653024cfbe75ee6e88b4282 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h @@ -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 */