View Issue Details

IDProjectCategoryView StatusLast Update
0016347CentOS-7kernelpublic2019-08-22 03:18
Reporterz.liuxinliang@hisilicon.com 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformtaishan 2280 V2OSarm64 centosOS Version7.6
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0016347: perf list got error msgs "failed to get cpuid string for PMU hisi_scclxxxxxxxx"
DescriptionRun "perf list " got bellow errros messages:
[root@localhost ~]# perf list
failed to get cpuid string for PMU hisi_sccl7_ddrc0
failed to get cpuid string for PMU hisi_sccl7_l3c18
failed to get cpuid string for PMU hisi_sccl3_ddrc1
failed to get cpuid string for PMU hisi_sccl3_l3c5
failed to get cpuid string for PMU hisi_sccl5_l3c31
failed to get cpuid string for PMU hisi_sccl1_l3c14
failed to get cpuid string for PMU hisi_sccl7_l3c16
failed to get cpuid string for PMU hisi_sccl3_l3c3
failed to get cpuid string for PMU hisi_sccl1_hha3
failed to get cpuid string for PMU hisi_sccl7_hha5
failed to get cpuid string for PMU hisi_sccl1_l3c9
failed to get cpuid string for PMU hisi_sccl1_l3c12
failed to get cpuid string for PMU hisi_sccl5_ddrc2
failed to get cpuid string for PMU hisi_sccl3_l3c1
failed to get cpuid string for PMU hisi_sccl1_ddrc3
failed to get cpuid string for PMU hisi_sccl7_l3c22
failed to get cpuid string for PMU hisi_sccl5_l3c28
failed to get cpuid string for PMU hisi_sccl1_l3c10
failed to get cpuid string for PMU hisi_sccl5_ddrc0
failed to get cpuid string for PMU hisi_sccl1_ddrc1
failed to get cpuid string for PMU hisi_sccl7_ddrc3
failed to get cpuid string for PMU hisi_sccl7_l3c20
failed to get cpuid string for PMU hisi_sccl5_l3c26
failed to get cpuid string for PMU hisi_sccl5_hha7
failed to get cpuid string for PMU hisi_sccl7_ddrc1
failed to get cpuid string for PMU hisi_sccl7_l3c19
failed to get cpuid string for PMU hisi_sccl5_l3c24
failed to get cpuid string for PMU hisi_sccl3_ddrc2
failed to get cpuid string for PMU hisi_sccl3_hha0
failed to get cpuid string for PMU hisi_sccl3_l3c6
failed to get cpuid string for PMU hisi_sccl1_l3c15
failed to get cpuid string for PMU hisi_sccl7_l3c17
failed to get cpuid string for PMU hisi_sccl3_ddrc0
failed to get cpuid string for PMU hisi_sccl3_l3c4
failed to get cpuid string for PMU hisi_sccl5_l3c30
failed to get cpuid string for PMU hisi_sccl1_l3c13
failed to get cpuid string for PMU hisi_sccl5_ddrc3
failed to get cpuid string for PMU hisi_sccl3_l3c2
...
Steps To ReproduceJust run perf list
$ yum install perf
$ perf list
Additional InformationImpact: This will causes perf can't show ddr/L3/hda SoC specific pmu statistics.
TagsNo tags attached.
abrt_hash
URL

Activities

z.liuxinliang@hisilicon.com

z.liuxinliang@hisilicon.com

2019-08-22 03:18

reporter   ~0035014

Verified that upstream bellow two commits can fix this issue:
eb4f52132518 drivers/perf: hisi: Fixup one DDRC PMU register offset
06060ea7fb5b drivers/perf: hisi: update the sccl_id/ccl_id when MT is supported

test result:
[root@localhost ~]# perf list

List of pre-defined events (to be used in -e):

  branch-misses [Hardware event]
  bus-cycles [Hardware event]
  cache-misses [Hardware event]
  cache-references [Hardware event]
  cpu-cycles OR cycles [Hardware event]
  instructions [Hardware event]
  stalled-cycles-backend OR idle-cycles-backend [Hardware event]
  stalled-cycles-frontend OR idle-cycles-frontend [Hardware event]
 ...

Issue History

Date Modified Username Field Change
2019-08-22 01:39 z.liuxinliang@hisilicon.com New Issue
2019-08-22 03:18 z.liuxinliang@hisilicon.com Note Added: 0035014