[Bug 1960118] Re: [22.04 FEAT] Add new CPU-MF Counters for new IBM Z Hardware - libpfm part

Steve Langasek 1960118 at bugs.launchpad.net
Fri Nov 18 21:03:18 UTC 2022


Hello bugproxy, or anyone else affected,

Accepted libpfm4 into jammy-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/libpfm4/4.11.1+git32-gd0b85fb-1ubuntu0.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

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

** Tags added: verification-needed verification-needed-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libpfm4 in Ubuntu.
https://bugs.launchpad.net/bugs/1960118

Title:
  [22.04 FEAT] Add new CPU-MF Counters for new IBM Z Hardware - libpfm
  part

Status in Ubuntu on IBM z Systems:
  In Progress
Status in libpfm4 package in Ubuntu:
  Fix Released
Status in libpfm4 source package in Jammy:
  Fix Committed
Status in libpfm4 source package in Kinetic:
  Fix Released

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 b03a81ea006658b3aa478e22f4d0b7741cf7346f "s390: Update
  counter definition for IBM z16"

  [Test Plan]

   * Since libpfm4 is a library, the best was to test it is with the
     help of a brief test program.

   * Install libpfm4-dev_4.11.1+git32-gd0b85fb-1ubuntu0.1_s390x.deb
     and libpfm4_4.11.1+git32-gd0b85fb-1ubuntu0.1_s390x.deb
     on an IBM z16 system (with hardware counters enabled).
     and navigate to /usr/share/doc/libpfm4-dev/examples/ to find the
     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.git.sourceforge.net/gitroot/perfmon2/libpfm4
     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_ARRAY_SIZE(cpumcf_z16_counters)' for
     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://launchpad.net/~fheimes/+archive/ubuntu/lp1960118

  [Other Info]
   
   * Version libpfm4 4.11.1+git74-g5140ce5 in kinetic has the commit/patch
     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/s390-tools and libpfm part.

  Request Type: Package - Update Version
  Upstream Acceptance: In Progress

  ---
  External link: https://warthogs.atlassian.net/browse/PEI-31

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1960118/+subscriptions




More information about the foundations-bugs mailing list