From: Maynard Johnson <maynardj@us...> - 2012-07-30 15:29:40
Maybe this is user error since I don't normally deal much with unit masks. But on this Sandybridge system I'm working on (mentioned in an earlier posting today), I can't get certain events/unit mask combinations to work. For example:
'ophelp --extra-mask uops_issued:2000000:stall_cycles'
correctly returns '25165824'. But
'ophelp --extra-mask uops_issued:2000000:any'
'ophelp --extra-mask uops_issued:2000000:0x1'
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.
I've found that if I hack the "any" value for uops_issued in i386/sandybridge/unit_masks with some bogus "extra" field, then 'ophelp --extra-mask uops_issued:2000000:any' returns without a failure. Of course that's not a proper fix. Is this a bug or luser error?