diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-06 18:38:26 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-28 15:03:24 +0200 |
commit | 7d1e239e911f57180c4c3aa8f6d4f87c306e2cfd (patch) | |
tree | dd523885cb3863d81b38569d49e1d35d069a50f6 /tools/perf/util/counts.h | |
parent | perf evsel: Rename perf_evsel__[hs]w_cache* to evsel__[hs]w_cache* (diff) | |
download | linux-7d1e239e911f57180c4c3aa8f6d4f87c306e2cfd.tar.xz linux-7d1e239e911f57180c4c3aa8f6d4f87c306e2cfd.zip |
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>
Diffstat (limited to 'tools/perf/util/counts.h')
-rw-r--r-- | tools/perf/util/counts.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/counts.h b/tools/perf/util/counts.h index 92196df4945f..8f556c6d98fa 100644 --- a/tools/perf/util/counts.h +++ b/tools/perf/util/counts.h @@ -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 */ |