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 libpfm library #340

Merged
merged 3 commits into from
Oct 31, 2024
Merged

Conversation

jcjgraf
Copy link
Contributor

@jcjgraf jcjgraf commented Oct 31, 2024

This PR updates the libpfm library from version 4.10.1 to the latest version 4.13.0. Due to some changes in the library, the old patch file could no longer be applied. In general, the changes induced by the patch are sill mostly the same, but the line numbers have changed. In addition, some new files were added by the update, whose header had to be patched as well.

EDIT For future reference
Command used to generate the patch (pwd is thirdparty/libpfm/):

git diff --relative=. --no-index . | sed '/^--- a/d' | sed '/^diff --git/d' | sed '/^index /d' | sed 's/^\+\+\+ b\//\+\+\+ b\/\.\//g'

Due to some changes in the library, the old patch file could no longer
be applied. In general, the changes induced by the patch are sill mostly
the same, but the line numbers have changed. In addition, some new files
were added by the update, whose header was patched as well.
@jcjgraf jcjgraf requested a review from a team as a code owner October 31, 2024 14:18
The metapackage has been moved to universe and is hence.
@wipawel wipawel merged commit e1658d8 into KernelTestFramework:mainline Oct 31, 2024
3 of 4 checks passed
@jcjgraf jcjgraf deleted the update_libpfm branch December 3, 2024 09:51
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