diff options
| author | Stephane Eranian <[email protected]> | 2009-10-06 16:42:08 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-10-09 15:56:10 +0200 |
| commit | 04a705df47d1ea27ca2b066f24b1951c51792d0d (patch) | |
| tree | cf4c9db5bd094a2b86b1ad1dd9bdb438aeb4f282 /tools/perf/scripts/python | |
| parent | 26dd2cb074d9dc41c9e3cddd7bf175fd0a41febc (diff) | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions