You have been subscribed to a public bug:

== 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---
-- 
[P9,POwer NV] Perf PMU event : pm_br_2path and pm_ld_miss_l1 is counted twice 
when perf stat is done (perf:)
https://bugs.launchpad.net/bugs/1714571
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to