Public bug reported:

== 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",                                                 
    "BriefDescription": "Branches that are not strongly biased",                
    "PublicDescription": ""                                                     
  },                                                                            
  {,                                                                            
    "EventCode": "0x40036",                                                     
    "EventName": "PM_BR_2PATH",                                                 
    "BriefDescription": "Branches that are not strongly biased",                
    "PublicDescription": ""                                                     
  },


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:

https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/commit/?h=perf/core&id=828e291e2982a7c10a62aa32195d0cb501cedaae

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-158230 severity-medium 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-158230 severity-medium
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage 
(ubuntu-power-triage)

** Package changed: ubuntu => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1714571

Title:
  [P9,POwer NV] Perf PMU event : pm_br_2path and pm_ld_miss_l1 is
  counted twice when perf stat is done (perf:)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1714571/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to