[P9,POwer NV] Perf PMU event : pm_br_2path and pm_ld_miss_l1 is counted twice when perf stat is done (perf:)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Medium
|
Canonical Kernel Team | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Seth Forshee |
Bug Description
== Comment: #0 - Sukadev Bhattiprolu - 2017-09-01 12:56:47 ==
---Problem Description---
Problem description :
=============
Perf PMU event : pm_br_2path and pm_ld_miss_l1 is counted twice , it is because two raw point to the same name.
[
{,
"EventCode": "0x20036",
"EventName": "PM_BR_2PATH",
"BriefDescr
"PublicDesc
},
{,
"EventCode": "0x40036",
"EventName": "PM_BR_2PATH",
"BriefDescr
"PublicDesc
},
Ex :
===
[root@zzfp189p1 ~]# perf stat -e pm_br_2path sleep 1
Performance counter stats for 'sleep 1':
30,163 pm_br_2path
<not counted> pm_br_2path (0.00%)
1.002046416 seconds time elapsed
[root@zzfp189p1 ~]# perf stat -e pm_ld_miss_l1 sleep 1
Performance counter stats for 'sleep 1':
9,217 pm_ld_miss_l1
<not counted> pm_ld_miss_l1 (0.00%)
1.001956110 seconds time elapsed
---Steps to Reproduce---
Steps to reproduce :
============
1. Install perf (linux-tools)
2. Run
perf stat -e pm_ld_miss_l1 sleep 1
perf stat -e pm_br_2path sleep 1
== Comment: #1 - Sukadev Bhattiprolu - 2017-09-01 12:58:16 ==
The fix for this bug was pulled into Arnaldo's tree:
CVE References
tags: | added: architecture-ppc64le bugnameltc-158230 severity-medium targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Medium |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Seth Forshee (sforshee) |
status: | Triaged → In Progress |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | New → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
tags: |
added: targetmilestone-inin1710 removed: targetmilestone-inin--- |
Can you post a link here when this patch gets pulled into linux-next or mainline?