diff options
| author | Stephane Eranian <[email protected]> | 2009-11-26 09:24:30 -0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-11-26 18:49:59 +0100 |
| commit | b2e74a265ded1a185f762ebaab967e9e0d008dd8 (patch) | |
| tree | bdfefc2d8376bde15f1defab28201c341c9d6e0c /scripts/objdiff | |
| parent | 4d795fb17a02a87e35782773b88b7a63acfbeaae (diff) | |
perf_events: Fix read() bogus counts when in error state
When a pinned group cannot be scheduled it goes into error state.
Normally a group cannot go out of error state without being
explicitly re-enabled or disabled. There was a bug in per-thread
mode, whereby upon termination of the thread, the group would
transition from error to off leading to bogus counts and timing
information returned by read().
Fix it by clearing the error state.
Signed-off-by: Stephane Eranian <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions