]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drivers/perf: hisi: Define a symbol namespace for HiSilicon Uncore PMUs
authorYicong Yang <yangyicong@hisilicon.com>
Tue, 10 Dec 2024 14:15:16 +0000 (22:15 +0800)
committerWill Deacon <will@kernel.org>
Tue, 10 Dec 2024 15:57:24 +0000 (15:57 +0000)
commit41729809ac8504abb7ac757105c6db2c2fbbc466
treed7005a8ec5b2b8ad4959baccf78c8c66aaa9d94e
parent5fcccba1183374c84f2b2392655c15ec4dbe41bc
drivers/perf: hisi: Define a symbol namespace for HiSilicon Uncore PMUs

The HiSilicon Uncore PMU framework implements some common functions
and exported them to the drivers. Use a specific HISI_PMU namespace
for the exported symbols to avoid pollute the generic ones.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20241210141525.37788-2-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c
drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c
drivers/perf/hisilicon/hisi_uncore_hha_pmu.c
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c
drivers/perf/hisilicon/hisi_uncore_pmu.c
drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c
drivers/perf/hisilicon/hisi_uncore_uc_pmu.c