mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
pybootchart: Fix extents handling to account for cpu/io/mem pressure changes
The previous addition of pressure values to the chart didn't fix the extents function which meant the bottom of the chart was cut off. Fix that. (From OE-Core rev: abbeea66297cfaf77bca9550400be37b39486b57) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cc8cef69e717e08f80d10f775f0fffc644267b59) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -356,6 +356,12 @@ def extents(options, xscale, trace):
|
||||
h += 30 + bar_h
|
||||
if trace.disk_stats:
|
||||
h += 30 + bar_h
|
||||
if trace.cpu_pressure:
|
||||
h += 30 + bar_h
|
||||
if trace.io_pressure:
|
||||
h += 30 + bar_h
|
||||
if trace.mem_pressure:
|
||||
h += 30 + bar_h
|
||||
if trace.monitor_disk:
|
||||
h += 30 + bar_h
|
||||
if trace.mem_stats:
|
||||
|
||||
Reference in New Issue
Block a user