Bug 1330320

Summary: make pmdapapi counters multi-cpu
Product: [Fedora] Fedora Reporter: Frank Ch. Eigler <fche>
Component: pcpAssignee: pcp-maint <pcp-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: fche, lberk, mgoodwin, nathans, pcp, wcohen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-05 04:10:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Ch. Eigler 2016-04-25 21:26:10 UTC
It turns out that the PAPI API does not transparently implement systemwide counters for us.  We are connecting only to cpu#0.

See the papi pernode.c test case.  Key words:

granularity - PAPI_GRN_SYS_CPU
ncpu = PAPI_get_opt(PAPI_MAX_CPUS, NULL);
the resulting values[] array should be sized ncpu-multiplied & indexed.

Comment 1 Frank Ch. Eigler 2016-04-25 21:39:52 UTC
Or instead, depending on the particular version of papi, we may manually need to do PAPI_CPU_ATTACH calls for replicated EventSets & values.

Comment 2 Jan Kurik 2016-07-26 04:49:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 3 Fedora End Of Life 2017-11-16 19:45:56 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2018-02-20 15:28:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 5 Nathan Scott 2019-03-05 04:10:13 UTC
The PAPI PMDA seems to have no users and is being phased out upstream in favour of the perfevent PMDA.  We do not plan any further development efforts on it in Fedora either.