aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <[email protected]>2011-04-21 11:03:21 -0400
committerIngo Molnar <[email protected]>2011-04-22 10:21:34 +0200
commit1ea5a6afd95a4803900c97ed63a47a883ebe7b3e (patch)
tree9a81eaa3a8915daff3135233478c0e7534019374 /tools/perf/util/scripting-engines/trace-event-python.c
parentb52c55c6a25e4515b5e075a989ff346fc251ed09 (diff)
perf, x86: P4 PMU - Don't forget to clear cpuc->active_mask on overflow
It's not enough to simply disable event on overflow the cpuc->active_mask should be cleared as well otherwise counter may stall in "active" even in real being already disabled (which potentially may lead to the situation that user may not use this counter further). Don pointed out that: " I also noticed this patch fixed some unknown NMIs on a P4 when I stressed the box". Tested-by: Lin Ming <[email protected]> Signed-off-by: Cyrill Gorcunov <[email protected]> Acked-by: Don Zickus <[email protected]> Signed-off-by: Don Zickus <[email protected]> Cc: Cyrill Gorcunov <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions