From: Stephane Eranian Date: Tue, 6 Oct 2009 14:42:08 +0000 (+0200) Subject: perf_events: Check for filters on fixed counter events X-Git-Tag: v2.6.33-rc1~399^2~1^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04a705df47d1ea27ca2b066f24b1951c51792d0d;p=pandora-kernel.git perf_events: Check for filters on fixed counter events Intel fixed counters do not support all the filters possible with a generic counter. Thus, if a fixed counter event is passed but with certain filters set, then the fixed_mode_idx() function must fail and the event must be measured in a generic counter instead. Reject filters are: inv, edge, cnt-mask. Signed-off-by: Stephane Eranian Signed-off-by: Peter Zijlstra LKML-Reference: <1254840129-6198-2-git-send-email-eranian@gmail.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed