Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libpfm4 to commit 4796a2 #180

Merged

Conversation

Treece-Burgess
Copy link
Contributor

@Treece-Burgess Treece-Burgess commented Apr 11, 2024

Pull Request Description

Current with
commit 1c0cdb91bc79eb1bc827e022f0a3738f124796a2
Author: Stephane Eranian <[email protected]>
Date: Mon Apr 15 17:27:33 2024 -0700

fix uninitialized variable in perf_examples/task.c

Commit 9410619f922f ("update task.c example to handle hybrid")

Introduced a bug by not initializing group_fd which could generate
a compiler warning and a bug.
Fix this by initializing group_fd to -1.

Reported-by: William Cohen <[[email protected]](mailto:[email protected])>
Signed-off-by: Stephane Eranian <[[email protected]](mailto:[email protected])>

Note: For commit 1c0cdb91bc79eb1bc827e022f0a3738f124796a2, compiled perf_examples and did not see warning that was reported through perfmon2 mailing list. As well as successfully built PAPI with default components with no warnings/errors. Please see below for system information:

Operating system         : Linux 6.1.62-1.el9.elrepo.x86_64
Vendor string and code   : AuthenticAMD (2, 0x2)
Model string and code    : AMD EPYC 7742 64-Core Processor (49, 0x31)

commit 72866cbc2666820d87ebc0af3b1a16d1d5db6965
Author: Stephane Eranian [email protected]
Date: Thu Apr 11 08:36:50 2024 -0700

fix duplicate event code for Intel SPR TOPDOWN.BAD_SPEC_SLOTS

Was using same encoding as TOPDOWN.SLOTS.
Fix by adding the proper event code (0xa4) and code override
flag.

Reported-by: <[email protected]>
Signed-off-by: Stephane Eranian <[email protected]>

Note: For commit 72866cbc2666820d87ebc0af3b1a16d1d5db6965, no testing has occurred as of now due to permissions. Will loop back around to update comment once permissions have been updated and am able to test (as of 04/26/2024, have not heard back, but have re-followed up). Please see below for system information:

Operating system         : Linux 4.18.0-477.27.1.el8_8.x86_64
Vendor string and code   : GenuineIntel (1, 0x1)
Model string and code    : Intel(R) Xeon(R) Gold 6430 (143, 0x8f)

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

@Treece-Burgess Treece-Burgess force-pushed the libpfm4-update-04-11-24 branch from 57cd0d2 to b8de12d Compare April 15, 2024 16:05
@Treece-Burgess Treece-Burgess changed the title Update libpfm4 to commit db6965 Update libpfm4 to commit 4796a2 Apr 16, 2024
Copy link
Contributor

@adanalis adanalis left a comment

Choose a reason for hiding this comment

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

Can you add a comment indicating whether we tested it or not?

@Treece-Burgess
Copy link
Contributor Author

@adanalis I have added the necessary comments and added system information for where the testing was done.

Treece Burgess added 2 commits April 25, 2024 16:10
Current with
commit 72866cbc2666820d87ebc0af3b1a16d1d5db6965
Author: Stephane Eranian <[email protected]>
Date:   Thu Apr 11 08:36:50 2024 -0700

    fix duplicate event code for Intel SPR TOPDOWN.BAD_SPEC_SLOTS

    Was using same encoding as TOPDOWN.SLOTS.
    Fix by adding the proper event code (0xa4) and code override
    flag.

    Reported-by: <[email protected]>
    Signed-off-by: Stephane Eranian <[email protected]>
Current with
commit 1c0cdb91bc79eb1bc827e022f0a3738f124796a2
Author: Stephane Eranian <[email protected]>
Date:   Mon Apr 15 17:27:33 2024 -0700

    fix uninitialized variable in perf_examples/task.c

    Commit 9410619f922f ("update task.c example to handle hybrid")

    Introduced a bug by not initializing group_fd which could generate
    a compiler warning and a bug.
    Fix this by initializing group_fd to -1.

    Reported-by: William Cohen <[email protected]>
    Signed-off-by: Stephane Eranian <[email protected]>
@Treece-Burgess Treece-Burgess force-pushed the libpfm4-update-04-11-24 branch from b3d09b9 to c0c0095 Compare April 25, 2024 16:11
@Treece-Burgess Treece-Burgess merged commit 8152191 into icl-utk-edu:master Apr 26, 2024
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants