From: Peter Zijlstra Date: Thu, 10 Sep 2015 09:58:27 +0000 (+0200) Subject: perf/x86/intel: Fix constraint access X-Git-Tag: omap-for-v4.3/fixes-rc5~126^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebfb4988f0378e2ac3b4a0aa1ea20d724293f392;p=pandora-kernel.git perf/x86/intel: Fix constraint access Sasha reported that we can get here with .idx==-1, and cpuc->event_constraints unallocated. Suggested-by: Stephane Eranian Reported-by: Sasha Levin Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Fixes: b371b5943178 ("perf/x86: Fix event/group validation") Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed