Re: Multiple definitions of INST_RETIRED for processors using i386/arch_perfmon
Andi Kleen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
> Notice that the broadwell, haswell, sandybridge, and westmere have multiple definitions of INST_RETIRED, one from arch_perfmon which has a zero unit mask and another one that has a non-zero unit masks. How is the INST_RETIRED event suppose to work for processors that support the Intel architected performance events? Always allow a unit mask of 0? Any suggestions n how the testsuite lib/op_events.exp should properly exercise INST_RETIRED event to test that things are working? Intel doesn't have a single INST_RETIRED event. There are multiple variants, both for fixed counter and different unit masks for different purposes including PEBS. Unit mask 0 with perf means use the fixed counter. So both are needed and useful. -Andi -- [email protected] -- Speaking for myself only. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/