From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7032209666543190016 X-Received: by 2002:a05:6402:5c9:: with SMTP id n9mr8394336edx.306.1638365098458; Wed, 01 Dec 2021 05:24:58 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:907:c0a:: with SMTP id ga10ls1024348ejc.9.gmail; Wed, 01 Dec 2021 05:24:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7+UX0T+ZPi1B3U6qesBw186a3pPY5uJzSIzxqdAIAbMYWjyPiFpaQf2jaqlmkG1ugYcRy X-Received: by 2002:a17:906:7955:: with SMTP id l21mr6937246ejo.488.1638365096423; Wed, 01 Dec 2021 05:24:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638365096; cv=none; d=google.com; s=arc-20160816; b=d3g/NMmp43PERcjE87XOYQ/lUlmxyHb3EGkh8x6QQbFiaF3JvSVRq9b960CJuDK/OW r2DaWvZuvqglRTWrdpXxCLUp6yT8L7nntqETZcSeFkCP+lb3ztvaPlT/ubK8V0drAF+t +MxKfiIPy79F+LR9Rf83V9cWpmC3dJp4722rvoPrL78/lXg2LJlS86Ks8HgrEyZdvwO+ OHzS35+do+mqoJHP4+gS134xauHbgPyY3ZPQzECvGtlHDpVL8HLqPFtcuvRah/KDc7kX 3e1RBZR4b23aEPZk7mXs1Vb7IEgmJOQQz/70T9eLCws1p6JfBnUbotpu65EUY+S7rNuV mf9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=NHqDhRex5P9o4VTX7DuAKj4A2plVucQOQafsNCkL6cE=; b=ASPZ4TfdCvvIMF2tpiWsCt+XsFT0zFrW7L2/dp7zd1oYpO8VCXu8zpBJcGQKrwPGtj E3aLxMa89EqFqSyU3/jKMcpJYuHSLZkXJFWyeRTZXWSlGmDGb1KlF6KelJoAPpPkw7/o d9VY9zDN71rM+KA7oS+b7vZ5Q3XMAo+M2RARPiGCSKtkbivCG+kuuKl9ZQrnJJ9UXw6g iI9D7duXYz73AtAa56r08aDbNYrTbVzCx1CNbBuPYcLmJ5XTCUKKDvQjNnFqgh+KuOJa m+rI9E3ttzdlKfESZO8tYt9fyPUpCpqRs6+VnOLlpi6jFIW9DJv5VTcl5S5zgNpbP5YD mcgA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id e10si1825999edz.5.2021.12.01.05.24.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Dec 2021 05:24:56 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [192.168.67.164] (mm-220-36-214-37.mgts.dynamic.pppoe.byfly.by [37.214.36.220] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 1B1DOswx011263 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 1 Dec 2021 14:24:55 +0100 Subject: Re: [PATCH v3 0/5] Use buildstats from OE to generate build charts To: Uladzimir Bely , isar-users@googlegroups.com References: <20211119092459.27376-1-ubely@ilbers.de> From: Anton Mikanovich Message-ID: Date: Wed, 1 Dec 2021 16:24:49 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211119092459.27376-1-ubely@ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: U72z57wkNMRu 19.11.2021 12:24, Uladzimir Bely wrote: > Changes since v2: > - Use more straightforward USE_BUILDSTATS = "1" in local.conf to enable > the buildstats feature, don't use OE-specific USER_CLASSES. > - Avoid forking buildstats.bbclass, use it from OE `as is`. > Changes since v1: > - rebased on latest `next` rechecked in CI. > > OE uses buildstats to analyze build performance. This patchset ports > this functionality to Isar. > > Build statistics is collected in $BUILDDIR/tmp/buildstats and can be > converted to PDF file or viewed directly. > > Note: After creating rootfs, buildstats.bbclass checks its size by > executing "du -sh" on the directory. While in Isar rootfs is created > under root, some "-x" directories (/var/cache/apt/archives/partial > or /root) may be unavailable for this check. So, the calculated size > may differ from the real one. > > The first patch in the series is borrowed from 'sstate' series. > So, if 'sstate' patchset is applied before this one, the patch > should be skipped. > > Adriaan Schmidt (1): > oe imports in central location > > Uladzimir Bely (4): > buildstats: Borrow buildstats and pybootchartgui from OE > buildstats: Fixes to work with bbclass in ISAR > buildstats: Enable buildstats in default configuration > doc: Add buildstats section in user manual > > doc/user_manual.md | 22 + > meta-isar/conf/local.conf.sample | 3 + > meta/classes/base.bbclass | 28 + > meta/classes/buildstats.bbclass | 295 ++++++ > meta/classes/dpkg-base.bbclass | 5 - > meta/classes/patch.bbclass | 5 - > meta/conf/bitbake.conf | 4 + > meta/lib/buildstats.py | 161 +++ > scripts/pybootchartgui/AUTHORS | 11 + > scripts/pybootchartgui/COPYING | 340 ++++++ > scripts/pybootchartgui/MAINTAINERS | 3 + > scripts/pybootchartgui/NEWS | 204 ++++ > scripts/pybootchartgui/README.pybootchart | 37 + > scripts/pybootchartgui/pybootchartgui.py | 23 + > .../pybootchartgui/pybootchartgui/__init__.py | 0 > .../pybootchartgui/pybootchartgui/batch.py | 46 + > scripts/pybootchartgui/pybootchartgui/draw.py | 975 ++++++++++++++++++ > scripts/pybootchartgui/pybootchartgui/gui.py | 348 +++++++ > scripts/pybootchartgui/pybootchartgui/main.py | 1 + > .../pybootchartgui/pybootchartgui/main.py.in | 183 ++++ > .../pybootchartgui/pybootchartgui/parsing.py | 821 +++++++++++++++ > .../pybootchartgui/process_tree.py | 292 ++++++ > .../pybootchartgui/pybootchartgui/samples.py | 178 ++++ > .../pybootchartgui/tests/parser_test.py | 105 ++ > .../pybootchartgui/tests/process_tree_test.py | 92 ++ > 25 files changed, 4172 insertions(+), 10 deletions(-) > create mode 100644 meta/classes/buildstats.bbclass > create mode 100644 meta/lib/buildstats.py > create mode 100644 scripts/pybootchartgui/AUTHORS > create mode 100644 scripts/pybootchartgui/COPYING > create mode 100644 scripts/pybootchartgui/MAINTAINERS > create mode 100644 scripts/pybootchartgui/NEWS > create mode 100644 scripts/pybootchartgui/README.pybootchart > create mode 100755 scripts/pybootchartgui/pybootchartgui.py > create mode 100644 scripts/pybootchartgui/pybootchartgui/__init__.py > create mode 100644 scripts/pybootchartgui/pybootchartgui/batch.py > create mode 100644 scripts/pybootchartgui/pybootchartgui/draw.py > create mode 100644 scripts/pybootchartgui/pybootchartgui/gui.py > create mode 120000 scripts/pybootchartgui/pybootchartgui/main.py > create mode 100644 scripts/pybootchartgui/pybootchartgui/main.py.in > create mode 100644 scripts/pybootchartgui/pybootchartgui/parsing.py > create mode 100644 scripts/pybootchartgui/pybootchartgui/process_tree.py > create mode 100644 scripts/pybootchartgui/pybootchartgui/samples.py > create mode 100644 scripts/pybootchartgui/pybootchartgui/tests/parser_test.py > create mode 100644 scripts/pybootchartgui/pybootchartgui/tests/process_tree_test.py > Applied to next, thanks. -- Anton Mikanovich Promwad Ltd. External service provider of ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn, Germany +49 (89) 122 67 24-0 Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov