diff options
author | Paul Mackerras <paulus@samba.org> | 2010-09-09 19:02:40 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-21 12:43:29 -0700 |
commit | 824737ff1ea5a699b7122862e2698bbf14bc601c (patch) | |
tree | 72f1d9e98c74fe24496cb9e045a2025decedc609 /drivers/char | |
parent | 3260b7324aa40b49b4aff1d7f170613bb81551e3 (diff) |
powerpc/perf: Fix sampling enable for PPC970
commit 9f5f9ffe50e90ed73040d2100db8bfc341cee352 upstream.
The logic to distinguish marked instruction events from ordinary events
on PPC970 and derivatives was flawed. The result is that instruction
sampling didn't get enabled in the PMU for some marked instruction
events, so they would never trigger. This fixes it by adding the
appropriate break statements in the switch statement.
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions