Skip to content
Commit f9d9f033 authored by Richard Purdie's avatar Richard Purdie Committed by Anuj Mittal
Browse files

pybootchart/draw: Avoid divide by zero error



When disk stats don't run frequenctly enough, we see divide by zero
errors. The code already has a fallback path so ensure we use it
for this case too.

[YOCTO #14360]

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b71d30ae)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent 69e5a81c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment