Hi everyone,
I am looking into the power (rapl) events introduced in the kernel in
version 3.14.
Right now, I can access those events through perf stat :
perf stat -a -e power/energy-pkg/ sleep 1
Performance counter stats for 'system wide':
17.16 Joules power/energy-pkg/
1.002808169 seconds time elapsed
However, it seems that I can't record a sequence of power events :
perf record -a -e power/energy-pkg/ sleep 1
Error:
The sys_perf_event_open() syscall returned with 22 (Invalid argument)
for event (power/energy-pkg/).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENTS=y kernel support configured?
dmesg does not give any information, and, as far as I know, perf_events
are fully supported by my kernel (
Is there some limitation of the power events (or kernel support) I am
unaware of that could explain this behaviour, or is there something
wrong with my setup/configuration ?
How would one procede to record a sequence of power events ?
Thanks in advance
A.
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html