-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Currently we use a c program called a provider
to get the RAPL energy values for CPU and PSYS. I initially tired to get these values with perf events and ebpf. This would have the advantage that all the "logic" would be in one place and we don't need all the overhead of calling a c program from python. While it is not very complicated it adds quite a lot of logic that is not needed. Unfortunately I couldn't get the ebpf version working reliable. Would be great if we could refactor this at some stage.