diff options
| author | Namhyung Kim <[email protected]> | 2013-05-14 11:09:00 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-05-28 16:23:59 +0300 |
| commit | 6f29097f45f6c375f2f6a76c589577575c7feb52 (patch) | |
| tree | 9eb90631bc8f0f5b36fdc1aa10ee99fdd41ed9f7 /tools/perf/scripts/python/syscall-counts.py | |
| 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 <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions