← Back to team overview

kernel-packages team mailing list archive

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

 

This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
xenial' to 'verification-done-xenial'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-xenial

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1578211

Title:
  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

     https://lkml.org/lkml/2016/1/11/982

  == 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

  http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/powerpc/perf/power7-pmu.c?id=d4969e2459c6e852a6862256cf8e869aaa3e8adf
  http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/powerpc/perf/power8-pmu.c?id=e0728b50d480da6be228dd160a43b37e4c0b1636

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