summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/pmus.h
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2024-01-23 19:50:36 +0100
committerNamhyung Kim <namhyung@kernel.org>2024-01-24 23:05:22 +0100
commit821aca20be503a6ce96ebda68c09fbcb1f7c51ba (patch)
tree655bf293686f0feac2f8ea9450aba46a218597fd /tools/perf/util/pmus.h
parentperf mem: Clean up perf_mem_events__record_args() (diff)
downloadlinux-821aca20be503a6ce96ebda68c09fbcb1f7c51ba.tar.xz
linux-821aca20be503a6ce96ebda68c09fbcb1f7c51ba.zip
perf mem: Clean up perf_pmus__num_mem_pmus()
The number of mem PMUs can be calculated by searching the perf_pmus__scan_mem(). Remove the ARCH specific perf_pmus__num_mem_pmus() Tested-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Reviewed-by: Ian Rogers <irogers@google.com> Cc: ravi.bangoria@amd.com Cc: james.clark@arm.com Cc: will@kernel.org Cc: mike.leach@linaro.org Cc: renyu.zj@linux.alibaba.com Cc: yuhaixin.yhx@linux.alibaba.com Cc: tmricht@linux.ibm.com Cc: atrajeev@linux.vnet.ibm.com Cc: linux-arm-kernel@lists.infradead.org Cc: john.g.garry@oracle.com Link: https://lore.kernel.org/r/20240123185036.3461837-8-kan.liang@linux.intel.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/pmus.h')
-rw-r--r--tools/perf/util/pmus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/pmus.h b/tools/perf/util/pmus.h
index 4c67153ac257..94d2a08d894b 100644
--- a/tools/perf/util/pmus.h
+++ b/tools/perf/util/pmus.h
@@ -17,7 +17,6 @@ struct perf_pmu *perf_pmus__scan_core(struct perf_pmu *pmu);
const struct perf_pmu *perf_pmus__pmu_for_pmu_filter(const char *str);
-int perf_pmus__num_mem_pmus(void);
void perf_pmus__print_pmu_events(const struct print_callbacks *print_cb, void *print_state);
bool perf_pmus__have_event(const char *pname, const char *name);
int perf_pmus__num_core_pmus(void);