Dear All,

I get similar results for uops_retired

operf -e uops_retired:2000000 ./a.out 26

Named unit masks not allowed for events without 'extra:' values.
Please specify the numerical value for the unit mask. See 'opcontrol' man page for more info.
Error retrieving info for event uops_retired:2000000

operf -e uops_retired:2000000:0x01 ./a.out 26

Named unit masks not allowed for events without 'extra:' values.
Please specify the numerical value for the unit mask. See 'opcontrol' man page for more info.
Error retrieving info for event uops_retired:2000000:0x01


Any idea how I could solve this?
Thanks and Regards
Rakhi


On Fri, Mar 1, 2013 at 3:20 PM, Rakhi Hemani <rakhih@iiitd.ac.in> wrote:
Dear All,

I am trying to do profiling on a program with operf on sandy bridge architecture. I am facing the following two problems.

1. uops_issued and operf

uname -a returns

Linux SPARTA 2.6.39-200.24.1.el6uek.x86_64 #1 SMP Sat Jun 23 02:39:07 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

Issuing the command operf with event uops_issued returns the following error

operf -e uops_issued:2000000 ./a.out 26
Named unit masks not allowed for events without 'extra:' values.
Please specify the numerical value for the unit mask. See 'opcontrol' man page for more info.
Error retrieving info for event uops_issued:2000000

2. mem_trans_retired and operf

operf -e mem_trans_retired:2000000 ./a.out 25
operf: Profiler started
N = 25

Profiling done.
opreport
Using /home/rakhi/oprofile_data/samples/ for samples directory.
opreport error: No sample file found: If using opcontrol for profiling,
try running 'opcontrol --dump'; otherwise, specify a session containing
sample files.

Any suggestions on how to resolve this?

In the second problem how do I know whether operf measured any samples?

Thanks and Regards
Rakhi



--
Rakhi Hemani
Phd Scholar
Roll Number PhD1207