summaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2010-09-09 19:02:40 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-09-23 07:03:56 (GMT)
commit9f5f9ffe50e90ed73040d2100db8bfc341cee352 (patch)
tree779be5ca7519c1f1ce8e2082f325017f0d518cc4 /scripts/basic/docproc.c
parent1ef21199a5d98702755cfa0df39b8b5112c423d6 (diff)
downloadlinux-9f5f9ffe50e90ed73040d2100db8bfc341cee352.tar.xz
powerpc/perf: Fix sampling enable for PPC970
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> Cc: stable@kernel.org Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions