← Back to team overview

kernel-packages team mailing list archive

[Bug 1578211] Re: perf tool: Display event codes for Generic HW (PMU) events


------- Comment From suka@xxxxxxxxxx 2016-06-21 11:38 EDT-------
Verified the feature:

?  cpu uname -a
Linux 1610 4.6.0-6-generic #7-Ubuntu SMP Tue May 17 16:25:53 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
?  cpu cd /sys/bus/event_source/devices/cpu/events
?  events ls
branch-instructions  instructions            L1-icache-prefetches
branch-load-misses   iTLB-load-misses        LLC-load-misses
branch-loads         L1-dcache-load-misses   LLC-loads
branch-misses        L1-dcache-loads         LLC-prefetches
cache-misses         L1-dcache-prefetches    LLC-store-misses
cache-references     L1-dcache-store-misses  LLC-stores
cpu-cycles           L1-icache-load-misses   stalled-cycles-backend
dTLB-load-misses     L1-icache-loads         stalled-cycles-frontend
?  events cat branch-instructions
?  events cat L1-icache-load-misses

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  perf tool: Display event codes for Generic HW (PMU) events

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  Fix Committed
Status in linux source package in Yakkety:
  Fix Released

Bug description:
  == Comment: #0 - Sukadev Bhattiprolu <suka@xxxxxxxxxx> - 2016-01-26 13:49:00 ==
  +++ This bug was initially created as a clone of Bug #136063 +++

  +++ This bug was initially created as a clone of Bug #136062 +++

  Perf supports a small set of so-called "generic" PMU events like "cycles", 
  "instructions" etc. But most CPUs support a wide variety of events, several
  closely related to run cycles or instructions or branches etc. For performance
  analysis it would be useful to know precisely which PMU event is being
  monitored by a generic event. This feature is to design/implement a mechanism
  to display the precise raw event codes for the generic events in a suitable
  file in sysfs.

  Following is a posting of the small patch set to the community


  == Comment: #3 - Diane Brent <drbrent@xxxxxxxxxx> - 2016-03-01 13:59:30 ==
  Any new news from maintainer? When is deemed too late to try to get this in 16.04? Feature freeze is passed. Kernel freeze is 4/07. Will this target 16.04.1/16.10?

  == Comment: #5 - Sukadev Bhattiprolu <suka@xxxxxxxxxx> - 2016-03-23 20:44:20 ==
  The patches were merged into mainline recently:

  commit d4969e2
  Author: Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx>
  Date:   Mon Jan 11 14:55:25 2016 -0800

      powerpc/perf: Remove PME_ prefix for power7 events

  commit e0728b5
  Author: Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx>
  Date:   Mon Jan 11 14:55:26 2016 -0800

      powerpc/perf: Export Power8 generic and cache events to sysfs


To manage notifications about this bug go to: