diff options
| author | David Ahern <[email protected]> | 2013-05-25 18:24:48 -0600 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-05-28 16:24:04 +0300 |
| commit | 45528f7c699a71d2f3096173980aadd43dff6eaa (patch) | |
| tree | 88090f64f8729195ad68386d3693be18a8102dd3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 6ca5f3081f903e2b25e58a061ddad486f846561e (diff) | |
perf stats: Fix divide by 0 in variance
Number of samples needs to be greater 1 to have a variance.
Fixes nan% in perf-kvm-live output.
Signed-off-by: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Runzhen Wang <[email protected]>
Cc: Xiao Guangrong <[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/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions