On Mon, Oct 22, 2012 at 03:20:51PM +0200, Stephane Eranian wrote: > This patch adds the x modifier for events. It allows users to > request exclusive PMU access (attr->exclusive): > > perf stat -e cycles:x ...... > or > perf stat -e cpu/cycles/x .... > > Exclusive mode is a feature of perf_events which was not yet > supported by the perf tool. Some events may require exclusive > PMU access (like on Intel SandyBridge).
You probably should add it also to be readable from sysfs (like I did with precise in my haswell patchkit) Then the SNB version of instructions-p can just force this without the user having to do anything special. -Andi -- 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/