aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorTim Blechmann <[email protected]>2009-10-17 16:08:29 +0000
committerIngo Molnar <[email protected]>2009-10-19 07:52:39 +0000
commitdc79959aaf80e518741657a702fa2727c86c1189 (patch)
tree39e7a00b90c972714657c74fd88d12759f36ea37 /tools/perf/builtin-annotate.c
parentperf tools: Bump version to 0.0.2 (diff)
downloadkernel-dc79959aaf80e518741657a702fa2727c86c1189.tar.gz
kernel-dc79959aaf80e518741657a702fa2727c86c1189.zip
perf top: Fix --delay_secs 0 division by zero
Add delay_secs sanity check to handle_keypress, this fixes a division by zero crash. Signed-off-by: Tim Blechmann <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions