KernelTestFramework / ktf

Kernel Test Framework
BSD 2-Clause "Simplified" License
139 stars 20 forks source link

Update libpfm library #340

Closed jcjgraf closed 1 month ago

jcjgraf commented 1 month ago

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'