← Back to team overview

kernel-packages team mailing list archive

[Bug 1430341] Re: [Ubuntu 15.04] Enable perf to exploit 24x7 hardware counters


Hi Breno,

I've coincidentally just pushed these patches to our Vivid master-next
branch, ie it'll land in time for 15.04.  I anticipate we'll upload
within about a week or so.  Thanks.

** Changed in: linux (Ubuntu)
       Status: In Progress => Fix Committed

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

  [Ubuntu 15.04] Enable perf to exploit 24x7 hardware counters

Status in linux package in Ubuntu:
  Fix Committed

Bug description:
  == Comment: #0 - Breno Henrique Leitao <brenohl@xxxxxxxxxx> - 2014-11-06 12:52:04 ==
  Enable perf tool to exploit POWER 24x7 hardware counters

  Parts of the project:
  a) Some patches upstream and done
  b) Reset targets on remaining features still to be done (jit support, symbol names)

  == Comment: #16 - Breno Henrique Leitao <brenohl@xxxxxxxxxx> - 2015-02-24 08:06:45 ==
  Initial patches already accepted by Canonical on 117275. Patchset posted to community, waiting on
  review. (I had posted a version of the patchset in Dec after fixing minor comments. Waiting to hear back from community )

  == Comment: #18 - Sukadev Bhattiprolu <suka@xxxxxxxxxx> - 2015-02-25 16:18:34 ==
  There are two separate patch sets, one for the perf tool and other
  for the kernel. They are both available in mainline 3.19-rc4.

  === Perf tool patches (4)

  Patch 1/4:
      commit 688d4df
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Wed Jan 7 17:13:50 2015 -0800

          perf tools: Support parsing parameterized events

  Patch 2/4:
      commit aaea361
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Wed Jan 7 17:13:51 2015 -0800

          perf tools: Extend format_alias() to include event parameters

  Patch 3/4:
      commit 98a43e0
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Wed Jan 7 17:13:52 2015 -0800

          perf Documentation: Add event parameters

  Patch 4/4:
      commit f9ab9c1
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Wed Jan 7 17:13:53 2015 -0800

          perf tools: Document parameterized and symbolic events

  === Kernel patches(7)
  Patch 1/7:
      commit fd979c0
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Fri Jan 30 13:45:57 2015 -0800

          perf: provide sysfs_show for struct perf_pmu_events_attr

  Patch 2/7:
      commit f0405b8
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Fri Jan 30 13:45:58 2015 -0800

          perf: add PMU_EVENT_ATTR_STRING() helper

  Patch 3/7:
      commit e08e528
      Author: sukadev@xxxxxxxxxxxxxxxxxx <sukadev@xxxxxxxxxxxxxxxxxx>
      Date:   Fri Jan 30 13:45:59 2015 -0800

          perf: define EVENT_DEFINE_RANGE_FORMAT_LITE helper

  Patch 4/7:
      commit 5c5cd7b
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Fri Jan 30 13:46:00 2015 -0800

          powerpc/perf/hv-24x7: parse catalog and populate sysfs with

  Patch 5/7:
      commit 9e9f601
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Fri Jan 30 13:46:01 2015 -0800

          powerpc/perf/{hv-gpci, hv-common}: generate requests with
  counters annotated

  Patch 6/7:
      commit 97bf264
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Fri Jan 30 13:46:02 2015 -0800

          powerpc/perf/hv-gpci: add the remaining gpci requests

  Patch 7/7:
      commit 5c65670
      Author: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
      Date:   Fri Jan 30 13:46:03 2015 -0800

          powerpc/perf/hv-24x7: Document sysfs event description entries

  == Comment: #23 - Sukadev Bhattiprolu <suka@xxxxxxxxxx> - 2015-02-26 13:22:13 ==
  Never mind.

  'git describe' seems to think they are in 3.19-rcX but they are
  not in 3.19.

  $ git describe fd979c0

  $ git describe aaea361

  They were merged on Feb 2, so they should be in 4.0

To manage notifications about this bug go to: