driver/perf: Add identifier sysfs file for Yitian 710 DDR
authorJing Zhang <renyu.zj@linux.alibaba.com>
Tue, 20 Jun 2023 07:12:33 +0000 (15:12 +0800)
committerWill Deacon <will@kernel.org>
Thu, 27 Jul 2023 11:57:04 +0000 (12:57 +0100)
commitcbbc6fdd85be6cd748d6c6db23c1d5be6b04161e
tree859655dc407d33c5142e97a4b4b9a58bd674efe9
parent6eaae198076080886b9e7d57f4ae06fa782f90ef
driver/perf: Add identifier sysfs file for Yitian 710 DDR

To allow userspace to identify the specific implementation of the device,
add an "identifier" sysfs file.

The perf tool can match the Yitian 710 DDR metric through the identifier.

Signed-off-by: Jing Zhang <renyu.zj@linux.alibaba.com>
Acked-by: Ian Rogers <irogers@google.com>
Reviewed-by: Shuai Xue <xueshuai@linux.alibaba.com>
Link: https://lore.kernel.org/r/1687245156-61215-2-git-send-email-renyu.zj@linux.alibaba.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/alibaba_uncore_drw_pmu.c