From: Andi Kleen Date: Wed, 24 Sep 2014 14:34:46 +0000 (-0700) Subject: perf/x86: Add INTEL_FLAGS_UEVENT_CONSTRAINT X-Git-Tag: omap-for-v3.19/fixes-rc1~167^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7550ddffe4c8040db31c66e5bd64531e2916bbf1;p=pandora-kernel.git perf/x86: Add INTEL_FLAGS_UEVENT_CONSTRAINT Add a FLAGS_UEVENT_CONSTRAINT macro that allows us to match on event+umask, and in additional all flags. This is needed to ensure the INV and CMASK fields are zero for specific events, as this can cause undefined behavior. Signed-off-by: Andi Kleen Signed-off-by: Peter Zijlstra (Intel) Cc: Kan Liang Cc: Maria Dimakopoulou Cc: Mark Davies Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1411569288-5627-1-git-send-email-andi@firstfloor.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed