Skip to content
Commit 6c4355cd authored by Richard Purdie's avatar Richard Purdie Committed by Steve Sakoman
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 avatarSteve Sakoman <steve@sakoman.com>
parent 362416f7
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