aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2010-03-08 17:51:33 +0100
committerIngo Molnar <[email protected]>2010-03-10 13:23:36 +0100
commitcc7f00820b2f3be656569c41158d9323e425bcfe (patch)
treefed31f96ccf6f988b7e29ed1e607ea49716f02a3 /include
parenta562b1871f7f7d2f3a835c3c1e07fa58d473cfb7 (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