Andi Kleen wrote:
> On Fri, Apr 15, 2011 at 11:41:55AM -0500, Maynard Johnson wrote:
>>> On the Intel files it's not an issue because there are unique words.
>>> What I can do is to go through the other event files and add unique first
>>> words. That's not a large change because very few other architectures have
>>> unit masks at all.
>> Because of the limited usefulness of "named unit masks" (i.e., can't use names for bitmask OR'ing), I think it would be best to simply not allow names for anything other than the aliased ums.
> For the common case of only specifying a single unit mask bit they
> are very useful and more user friendly than numbers.
> I would prefer to keep that.
No, it is neither useful nor user friendly when users have to remember the rules of when they can use names and when they can't. This is not a good solution, and it will not be accepted.
>>> If it's really a problem I could add a way to specify the extra stuff
>>> manually, but I would prefer to only do that when someone actually
>>> needs it.
>> Agreed. But do you think the limitation should be documented somewhere?
> I can do that.