[PATCH v2 1/3] perf vendor events arm64: Fix incorrect Hisi hip08 L3 metrics

Arnaldo Carvalho de Melo acme at kernel.org
Wed Oct 26 07:03:12 PDT 2022


Em Wed, Oct 26, 2022 at 10:07:44AM +0100, John Garry escreveu:
> On 21/10/2022 11:50, Shang XiaoJing wrote:
> > Commit 0cc177cfc95d ("perf vendor events arm64: Add Hisi hip08 L3
> > metrics") add L3 metrics of hip08, but some metrics (IF_BP_MISP_BR_RET,
> > IF_BP_MISP_BR_RET, IF_BP_MISP_BR_BL) have incorrect event number due to
> > the mistakes in document, which caused incorrect result. Fix the
> > incorrect metrics.
> > 
> > before:
> > 65,811,214,308	armv8_pmuv3_0/event=0x1014/	# 18.87 push_branch
> > 						# -40.19 other_branch
> > 3,564,316,780	BR_MIS_PRED			# 0.51 indirect_branch
> > 						# 21.81 pop_branch
> > 
> > after:
> > 6,537,146,245	BR_MIS_PRED			# 0.48 indirect_branch
> > 						# 0.47 pop_branch
> > 						# 0.00 push_branch
> > 						# 0.05 other_branch
> > 
> > Fixes: 0cc177cfc95d ("perf vendor events arm64: Add Hisi hip08 L3 metrics")
> > Signed-off-by: Shang XiaoJing<shangxiaojing at huawei.com>
> > Cc: John Garry<john.garry at huawei.com>
> > Acked-by: James Clark<james.clark at arm.com>
> 
> Reviewed-by: John Garry <john.garry at huawei.com>

Applied to perf/urgent.

- Arnaldo



More information about the linux-arm-kernel mailing list