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.
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