[22.04 FEAT] Add new CPU-MF Counters for new IBM Z Hardware - libpfm part
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Skipper Bug Screeners | ||
libpfm4 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
Kinetic |
Fix Released
|
High
|
Unassigned |
Bug Description
SRU Justification:
------------------
[Impact]
* This is an hardware enablement SRU,
that adds support for the new IBM zSystems hardware in libpfm4.
* It's in particular to add new CPU-MF Counters
for new the IBM z16 hardware.
* Otherwise z16-specific CPU performance measurement facility
counters cannot be used with libpfm4.
[Fix]
* b03a81 b03a81ea006658b
[Test Plan]
* Since libpfm4 is a library, the best was to test it is with the
help of a brief test program.
* Install libpfm4-
and libpfm4_
on an IBM z16 system (with hardware counters enabled).
and navigate to /usr/share/
two example programs 'check_events' and 'showevtinfo'
and build or compile them.
* Alternatively do this based on the raw project sources:
git clone git://perfmon2.
cd libpfm4
make
* Now run the 'showevtinfo' program (in examples subdirectory)
to get a list of all available events,
masks and modifiers that are supported
and look (grep) for z16 related events
as they are listed in the commit above.
[Where problems could occur]
* There is not much that can go wrong, other than:
* syntactical errors (will be identified by a test compile)
* making use of 'LIBPFM_
the wrong machine types (but 3931 and 3932 are z16)
* or someone added/assigned the wrong set of counters for
the z16 hardware and machine types.
* A test package was build for all major architectures
and is available via this PPA:
https:/
[Other Info]
* Version libpfm4 4.11.1+
already included, since it's a snapshot that was taken after b03a81
was brought upstream.
__________
Add new CPU-MF Counters for new IBM Z Hardware - libpfm part
Description:
Add new CPU-MF Counters for new IBM Z Hardware.
Has a kernel, s390utils/
Request Type: Package - Update Version
Upstream Acceptance: In Progress
---
External link: https:/
tags: | added: architecture-s39064 bugnameltc-196343 severity-high targetmilestone-inin2204 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
affects: | linux (Ubuntu) → libpfm4 (Ubuntu) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
importance: | Undecided → High |
Changed in libpfm4 (Ubuntu): | |
importance: | Undecided → High |
status: | New → Incomplete |
Changed in ubuntu-z-systems: | |
status: | New → Incomplete |
Changed in libpfm4 (Ubuntu Jammy): | |
status: | New → In Progress |
information type: | Private → Public |
Changed in libpfm4 (Ubuntu Jammy): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → nobody |
description: | updated |
tags: | added: pei-31 |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Released |
libpfm 4.11.1+ git32-gd0b85fb- 1 is what we have in jammy as of today (and what's also incl. in Debian bookworm).
4.11 is also the latest upstream release, that is from Sept 2020.
So maybe some selected commits to cherry pick (or backports) might be needed to integrate this functionality ...