Open
Description
When running the sensor inside a kubernetes container it fails to read some performance events.
When running the following command
/usr/bin/hwpc-sensor "test" -n test -r csv -U "/reporting/"
-s "rapl" -o -e "RAPL_ENERGY_PKG"
-s "msr" -e "TSC" -e "APERF" -e "MPERF"
-c "core" -e "CPU_CLK_THREAD_UNHALTED:REF_P" -e "CPU_CLK_THREAD_UNHALTED:THREAD_P" -e "LLC_MISSES" -e "INSTRUCTIONS_RETIRED"
I get this error:
I: 20-06-16 15:00:37 build: version unknown (rev: 7a63055ff2fdfbfdf776d42188a87de19882dd88) (Jun 8 2020 - 13:05:23)
I: 20-06-16 15:00:37 uname: Linux 5.3.0-59-generic #53~18.04.1-Ubuntu SMP Thu Jun 4 14:58:26 UTC 2020 x86_64
E: 20-06-16 15:00:37 config: event 'TSC' is invalid or unsupported by this machine
I have this issue with TSC, MPERF and APERF, but other events (RAPL, etc) work fine.
Metadata
Metadata
Assignees
Labels
No labels