Hello, I posted my original question here: https://github.com/wcohen/libpfm4/issues/6 [https://opengraph.githubassets.com/1290fe3fc6d6baa927a722781d8b2fb351a03999b012a93b8d224af93d91f17f/wcohen/libpfm4/issues/6]<https://github.com/wcohen/libpfm4/issues/6> Invalid event attribute for cpu_clk_unhalted.thread · Issue #6 · wcohen/libpfm4<https://github.com/wcohen/libpfm4/issues/6> Hello, I am getting the error: invalid event attribute for cpu_clk_unhalted.thread. However, I do get counter values which are in the expected range even though an error message is printed out. How... github.com
It works when I run the following from the command line, and it appears when I use perf list: perf stat --e cpu_clk_unhalted.thread ls /proc/sys/kernel/perf_event_paranoid is set to 0 I'm using Intel(R) Xeon(R) Gold 6252N CPU @ 2.30GHz
_______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel