diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-05-14 11:09:00 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-05-28 16:23:59 +0300 |
commit | 6f29097f45f6c375f2f6a76c589577575c7feb52 (patch) | |
tree | 9eb90631bc8f0f5b36fdc1aa10ee99fdd41ed9f7 /tools/perf/builtin-kvm.c | |
parent | 933cbb1c6c617a6ae167538c2fa503efc9c4a832 (diff) |
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 <jolsa@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1368497347-9628-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-kvm.c')
0 files changed, 0 insertions, 0 deletions