mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
pybootchartgui: account for network stats when calculating extents
We could take into account the network device statistics when calculating the size of the image, otherwise charts will be truncated. (From OE-Core rev: 52806c2555d02d4a12e7419520a2aba05f7aaa06) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ac05e72f87
commit
9eb9f13198
|
|
@ -371,6 +371,8 @@ def extents(options, xscale, trace):
|
|||
h += 30 + bar_h
|
||||
if trace.mem_stats:
|
||||
h += meminfo_bar_h
|
||||
if trace.net_stats:
|
||||
h += (30 + bar_h) * len(trace.net_stats)
|
||||
|
||||
# Allow for width of process legend and offset
|
||||
if w < (720 + off_x):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user