diff options
| author | Peter Zijlstra <[email protected]> | 2010-03-08 17:51:33 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-03-10 13:22:31 +0100 |
| commit | 71e2d2828046133ed985696a02e2e1499ca0bfb8 (patch) | |
| tree | 0c180d1da4be85254e59001420ff9c558b38e205 /include | |
| parent | c08053e627d23490a03431285b78b7a5b617fbad (diff) | |
perf, x86: Avoid double disable on throttle vs ioctl(PERF_IOC_DISABLE)
Calling ioctl(PERF_EVENT_IOC_DISABLE) on a thottled counter would result
in a double disable, cure this by using x86_pmu_{start,stop} for
throttle/unthrottle and teach x86_pmu_stop() to check ->active_mask.
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions