Intel Ivy Bridge "mem" events not working?

Panagiotis Mousouliotis <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <CAONfH=OYm3DJZBXxmXTL_5xJriL6f8m04ZZZ6wbraZLz46ojhQ@mail.gmail.com>
Hello,

I installed today oprofile cloning it from the git repository.

When I give the command:

$ ocount -e mem_uops_retired ./convNaive2 0.5 5

I get:

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
0.5,5,0.092632

Events were actively counted for 227235819 nanoseconds.
Event counts (actual) for
/home/pmousoul/Desktop/Program_Execution_Performance_Measurement_Tools/code/convNaive2:
    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:
processor: i5-3337U
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..

Any thoughts?


Thanks for your time,
Panos

------------------------------------------------------------------------------

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.