Re: [PATCH 2/4] perf/x86: Fix format definition of SNB-EP uncoreQPI box
From: Peter Zijlstra
Date: Mon Jul 23 2012 - 12:36:28 EST
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/