aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorAsim Kadav <kadav@cs.wisc.edu>2013-01-03 12:47:26 -0500
committerTakashi Iwai <tiwai@suse.de>2013-01-04 04:38:27 -0500
commitdc30a436903ccf180b0313d3fc3f44278a1d44c8 (patch)
treeb262bd64e751b7d68a012cf0c9329845518327df /drivers/misc
parentb7b435e81b7228af68b5d3bef277fce10100b369 (diff)
sound: oss/pas2: Fix possible access out of array
Added a fix for hardware dependence bug where a sound card failure should not result in reading beyond array memory index. Signed-off-by: Asim Kadav <kadav@cs.wisc.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions
n> pfair-staggered/ -i 0 -x 9 -y 70000 \ ${SAMPLES_DIR}/pfair-staggered/*overhead=RELEASE.sbn } function plot_sched() { # manual filtering for SCHED $OPLOT -o ${SAMPLES_DIR}/event-driven/sched-outliers.csv -p event-driven/ \ -i 0 -y 140000 -x 280 -b 4 \ ${SAMPLES_DIR}/event-driven/*scheduler=G-*_*overhead=SCHED.sbn $OPLOT -o ${SAMPLES_DIR}/event-driven/sched-outliers.csv -p event-driven/ \ -i 0 -y 160000 -x 45 -b 1 \ ${SAMPLES_DIR}/event-driven/*scheduler={P,C}-*_*overhead=SCHED.sbn $OPLOT -o ${SAMPLES_DIR}/pfair-aligned/sched-outliers.csv -p pfair-aligned/ \ -i 0 -x 130 -y 100000 -b 2 \ ${SAMPLES_DIR}/pfair-aligned/*scheduler={PD2,PD2-RM}_**overhead=SCHED.sbn $OPLOT -o ${SAMPLES_DIR}/pfair-aligned/sched-outliers.csv -p pfair-aligned/ \ -i 0 -x 30 -y 30000 \ ${SAMPLES_DIR}/pfair-aligned/*scheduler=*{L2,L3}*_**overhead=SCHED.sbn $OPLOT -o ${SAMPLES_DIR}/pfair-staggered/sched-outliers.csv -p pfair-staggered/ \ -i 0 -x 15 -y 140000 \ ${SAMPLES_DIR}/pfair-staggered/*overhead=SCHED.sbn } function plot_samples() { ALGS=$1 SRC="${SAMPLES_DIR}/${ALGS}/" echo "Plotting samples $SRC -> $ALGS/" # no filtering for SCHED2, RELEASE, and TICK $OPLOT -p "$ALGS/" -i 0 -x 15 -y 120000 ${SRC}/*overhead=SCHED2.sbn # IQR with extent=12 for CXS, RELEASE-LATENCY, and SEND-RESCHEd $OPLOT -p "$ALGS/" -i 12 -x 15 -y 70000 ${SRC}/*overhead=CXS.sbn $OPLOT -p "$ALGS/" -i 12 -x 15 -y 40000 ${SRC}/*overhead=RELEASE-LATENCY.sbn $OPLOT -p "$ALGS/" -i 12 -x 15 -y 90000 ${SRC}/*overhead=SEND-RESCHED.sbn # remove noise rm -f $ALGS/*-RM_*RELEASE-LATENCY.pdf } plot_trends event-driven plot_trends pfair-aligned plot_trends pfair-staggered plot_samples event-driven plot_samples pfair-aligned plot_samples pfair-staggered plot_ticks plot_sched plot_release