Hi Guys,

Thanks for your help on the last question! ... I have a 2 more questions with using oprofile in my core-i3 processor.

1)oprofile states that it doesn't know my processor very well. The core-i3 processor is a dual core Nehalem architecture. There are several more events then what is listed below, but I get this message "This is a limited set of fallback events because oprofile doesn't know your CPU"

2) my second question is how do I have different counters counting different events during the same sampling run? For example the Nehalem has more than one counter but when I use the following command it assigns to counter:0 by default

sudo opcontrol --event=CPU_CLK_UNHALTED:10000:0x0:0:1
sudo opcontrol --event=INST_RETIRED:10000:0x0:0:1
How do I get both of these events counted at the same time by different counters?


---------------------the limited Nehalem events supported-----------------------------------------------
jeff@east:~$ sudo opcontrol --list-events
oprofile: available events for CPU type "Intel Architectural Perfmon"

See Intel 64 and IA-32 Architectures Software Developer's Manual
Volume 3B (Document 253669) Chapter 18 for architectural perfmon events
This is a limited set of fallback events because oprofile doesn't know your CPU
CPU_CLK_UNHALTED: (counter: all)
Clock cycles when not halted (min count: 6000) 
INST_RETIRED: (counter: all)
number of instructions retired (min count: 6000) 
LLC_MISSES: (counter: all)
Last level cache demand requests from this core that missed the LLC (min count: 6000) 
Unit masks (default 0x41)
----------
0x41: No unit mask 
LLC_REFS: (counter: all)
Last level cache demand requests from this core (min count: 6000) 
Unit masks (default 0x4f)
----------
0x4f: No unit mask 
BR_INST_RETIRED: (counter: all)
number of branch instructions retired (min count: 500) 
BR_MISS_PRED_RETIRED: (counter: all)
number of mispredicted branches retired (precise) (min count: 500)