Skip to content
Commit dc79959a authored by Tim Blechmann's avatar Tim Blechmann Committed by Ingo Molnar
Browse files

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: default avatarTim Blechmann <tim@klingt.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4AD9EBFD.106@klingt.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 210f9cb2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment