diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2024-01-23 10:50:36 -0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-01-24 14:05:22 -0800 |
commit | 821aca20be503a6ce96ebda68c09fbcb1f7c51ba (patch) | |
tree | 655bf293686f0feac2f8ea9450aba46a218597fd /fs/read_write.c | |
parent | 70f4b20d07df94916230b6783097358703c90113 (diff) | |
download | linux-stable-821aca20be503a6ce96ebda68c09fbcb1f7c51ba.tar.gz linux-stable-821aca20be503a6ce96ebda68c09fbcb1f7c51ba.tar.bz2 linux-stable-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 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions