perf counts: Rename perf_evsel__*counts() to evsel__*counts()
As these are 'struct evsel' methods, 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:
@@ -38,8 +38,8 @@ perf_counts__set_loaded(struct perf_counts *counts, int cpu, int thread, bool lo
|
||||
struct perf_counts *perf_counts__new(int ncpus, int nthreads);
|
||||
void perf_counts__delete(struct perf_counts *counts);
|
||||
|
||||
void perf_evsel__reset_counts(struct evsel *evsel);
|
||||
int perf_evsel__alloc_counts(struct evsel *evsel, int ncpus, int nthreads);
|
||||
void perf_evsel__free_counts(struct evsel *evsel);
|
||||
void evsel__reset_counts(struct evsel *evsel);
|
||||
int evsel__alloc_counts(struct evsel *evsel, int ncpus, int nthreads);
|
||||
void evsel__free_counts(struct evsel *evsel);
|
||||
|
||||
#endif /* __PERF_COUNTS_H */
|
||||
|
Reference in New Issue
Block a user