4e3c41c9fa
Fix AMDuProfPcm so it finds libnuma.so
...
We change the search procedure so it detects NixOS from /etc/os-release
and uses "libnuma.so" when calling dlopen, instead of harcoding a full
path to /usr. The full patch of libnuma is stored in the runpath, so
dlopen can find it.
2025-09-18 13:32:50 +02:00
7188f06111
Fix hidden dependencies for AMDuProfSys
...
It tries to dlopen libcrypt.so.1 and libstdc++.so.6, so we make sure
they are available by adding them to the runpath.
2025-09-16 16:02:47 +02:00
95ba4f30ab
Fix amd-uprof dependencies with patchelf
2025-09-05 13:53:06 +02:00
93cc24a40b
Fix hrtimer new interface
...
The hrtimer_init() is now done via hrtimer_setup() with the callback
function as argument.
See: https://lwn.net/Articles/996598/
2025-09-05 12:54:58 +02:00
06779ba55e
Use CFLAGS_MODULE instead of EXTRA_CFLAGS
...
Fixes the build in Linux 6.15.6, as it was not able to find the include
files.
2025-09-05 12:54:58 +02:00
c2a433216a
Add AMD uProf package and driver
2025-09-04 11:11:06 +02:00