When multiconfigs are used, statistics for the same package name but from the different multiconfigs is collected into the same file.
This causes incorrect charts generated with pybootchartgui, when only the most recent part of statistics is shown. This patch adds custom multiconfig prefix to the file names that hold statistics. Signed-off-by: Uladzimir Bely <ub...@ilbers.de> --- meta/classes/buildstats.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass index 0de605200a..b417929b61 100644 --- a/meta/classes/buildstats.bbclass +++ b/meta/classes/buildstats.bbclass @@ -185,6 +185,8 @@ python run_buildstats () { if bn is not None: bsdir = os.path.join(d.getVar('BUILDSTATS_BASE'), bn) taskdir = os.path.join(bsdir, d.getVar('PF')) + if d.getVar('BB_CURRENT_MC') != 'default': + taskdir = os.path.join(bsdir, d.getVar('BB_CURRENT_MC') + '_' + d.getVar('PF')) if isinstance(e, bb.event.HeartbeatEvent) and bb.utils.to_boolean(d.getVar("BB_LOG_HOST_STAT_ON_INTERVAL")): bb.utils.mkdirhier(bsdir) write_host_data(os.path.join(bsdir, "host_stats_interval"), e, d, "interval") -- 2.41.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#193900): https://lists.openembedded.org/g/openembedded-core/message/193900 Mute This Topic: https://lists.openembedded.org/mt/103781926/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-