← Back to team overview

kernel-packages team mailing list archive

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

 

You have been subscribed to a public bug:

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

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64 bot-comment bugnameltc-136066 severity-medium targetmilestone-inin1610
-- 
perf tool: Display event codes for Generic HW (PMU) events
https://bugs.launchpad.net/bugs/1578211
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.