2016-04-06 15:46:18 UTC
I installed today oprofile cloning it from the git repository.
When I give the command:
$ ocount -e mem_uops_retired ./convNaive2 0.5 5
perf_event_open failed with Invalid argument
Caught runtime error while setting up counters
Internal Error. Perf event setup failed.
Error running ocount
I get the same output for all the events starting with "mem".
When I use events that do not start with "mem", it works:
$ ocount -e l2_lines_out ./convNaive2 0.5 5
Events were actively counted for 227235819 nanoseconds.
Event counts (actual) for
Event Count % time counted
l2_lines_out 255,436 100.00
I'm I doing something wrong and I'm just not able to notice it?
My system is:
kernel version: 3.16.0-67-generic x86_64 GNU/Linux
I tried the oprofile-1.1.0 (tar.gz) version but I got the same results.
Now I'm thinking to test an older kernel on the same machine..
Thanks for your time,