From: Namhyung Kim Date: Tue, 14 May 2013 02:09:00 +0000 (+0900) Subject: perf top: Fix percent output when no samples collected X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~62^2~26^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f29097f45f6c375f2f6a76c589577575c7feb52;p=pandora-kernel.git perf top: Fix percent output when no samples collected If there's no sample, kernel and exact percent output at the header looked like "-nan%". Tested-by: Jiri Olsa Signed-off-by: Namhyung Kim Cc: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1368497347-9628-3-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed