diff options
| author | Stephane Eranian <[email protected]> | 2010-09-10 13:28:01 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-09-13 08:43:40 +0200 |
| commit | b0b2072df3b544f56b90173c2cde7a374c51546b (patch) | |
| tree | 234042daa4a5761a2db5729a440af30527d06111 /tools/perf/scripts/python | |
| parent | e5f4d3394a52ac351f1a479fe136d92fa5228eff (diff) | |
perf_events: Fix BTS interrupt handling to avoid being dazed by NMI (v2)
Fix a bug introduced with commit de725de and the change in the
meaning of the return value of intel_pmu_handle_irq(). With the
current code, when you are using the BTS, you get 'dazed by NMI'
each time the BTS buffer fills up.
BTS does interrupt on the PMU vector, thus NMI. You need to take
this into account in the return value of the function.
This version fixes initial patch which was missing changes to
perf_event_intel_ds.c.
Signed-off-by: Stephane Eranian <[email protected]>
Acked-by: Don Zickus <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [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