Skip to content

Comments

Finish the libpfm3 removal#443

Open
Treece-Burgess wants to merge 1 commit intoicl-utk-edu:masterfrom
Treece-Burgess:07-10-25-libpfm3-removal
Open

Finish the libpfm3 removal#443
Treece-Burgess wants to merge 1 commit intoicl-utk-edu:masterfrom
Treece-Burgess:07-10-25-libpfm3-removal

Conversation

@Treece-Burgess
Copy link
Contributor

@Treece-Burgess Treece-Burgess commented Jul 10, 2025

Pull Request Description

The following commit removed perfctr and libpfm-3.y code. However, this commit left behind code that will not work without it such as the components perfmon2 and perfmon_ia64.

This PR looks to remove the left behind code.

Testing

Configure CPU Architecture PAPI Utilities*
./configure --prefix=$PWD/test-install Intel Xeon Gold 6140
  • Includes papi_component_avail, papi_native_avail, papi_command_line, and papi_avail

Author Checklist

  • Description
    Why this PR exists. Reference all relevant information, including background, issues, test failures, etc
  • Commits
    Commits are self contained and only do one thing
    Commits have a header of the form: module: short description
    Commits have a body (whenever relevant) containing a detailed description of the addressed problem and its solution
  • Tests
    The PR needs to pass all the tests

@dbarry9
Copy link
Contributor

dbarry9 commented Jul 10, 2025

I am reviewing this pull request.

@dbarry9 dbarry9 self-requested a review July 10, 2025 22:26
@Treece-Burgess Treece-Burgess added status-work-in-progress PR is still being worked on type-maintenance Update code to keep it compatible, secure, modern. labels Jul 10, 2025
@Treece-Burgess Treece-Burgess requested a review from adanalis July 11, 2025 17:12
@Treece-Burgess Treece-Burgess force-pushed the 07-10-25-libpfm3-removal branch from 6570f07 to ef44e42 Compare July 14, 2025 19:38
@Treece-Burgess Treece-Burgess added status-ready-for-review PR is ready to be reviewed and removed status-work-in-progress PR is still being worked on labels Jul 14, 2025
{ $as_echo "$as_me:${as_lineno-$LINENO}: XXXXX user_specified_interface perfnec" >&5
if test "$user_specified_interface" = "pe"; then
PAPICFLAGS+=" $PECFLAGS"
perfnec=0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent properly.

@dbarry9
Copy link
Contributor

dbarry9 commented Nov 14, 2025

src/Rules.pfm needs to also be removed.

@Treece-Burgess
Copy link
Contributor Author

After discussion with Daniel, we are going to preemptively remove perfnec as from Rules.perfnec in src it has a target for compiling papi_libpfm3_events.c. However, Daniel was able to build PAPI on Frontier with perfnec active when commenting out the asm function call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status-ready-for-review PR is ready to be reviewed type-maintenance Update code to keep it compatible, secure, modern.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

complete the libpfm3 removal perfctr: Removal of Leftover Documentation and Outdated Code

2 participants