On Mon, 2012-07-23 at 18:33 +0200, Stephane Eranian wrote:
> 
> DEFINE_UNCORE_FORMAT_ATTR(event, event, "config:0-7,21");
> 
> Assuming the event parser supports disjoint bits. 

It does. Userspace should provide a 9bit value in this case and the 9th
bit will be stored in bit 21.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to