From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7012617433684901888 X-Received: by 2002:a2e:1410:: with SMTP id u16mr35772ljd.469.1632752230685; Mon, 27 Sep 2021 07:17:10 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:324d:: with SMTP id c13ls286690lfr.0.gmail; Mon, 27 Sep 2021 07:17:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoRG3rDIcaua7nkR0MfqBHXBojZtlFVSQbIGZ+khACm1GAhiiZkOyMGOF66Rqzil5JH2lE X-Received: by 2002:a05:6512:2e8:: with SMTP id m8mr89996lfq.172.1632752229480; Mon, 27 Sep 2021 07:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632752229; cv=none; d=google.com; s=arc-20160816; b=GxvefnGnQYwPdcAQjXt2OcgGBary/yC8JJub4PC69n4pKpSTq49dYZi8SOFWvDMiM9 eKQ0m8HlypBNKaql0r4VON3sSATXySFIUxwntjS+xnAUOPOk8g2yj7JWwIkTLUUCL9mV FbmW+QM2wiYfRtXu7eKz4Mm7VEgGiXOQXSrEHFwpt1MASUYT//1xWgV9SlBsjFMkPc2+ Y5txQfPUxQqTx20SVW/WESnxTHzsD+t9jtsGFPZfl9KzDihAmRwOsSnU6CQomr39exrP yfzGFeFfQCTaKj0aou0DAz9f/712gUY75pDR1pXARrtCCKuEdgzh98A7J6pENElsVrsn yAAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=byVQEq0TseQanqLYipenGJ0HjpGXhHgPX6zNpo8NIHY=; b=Wtox7rPt0br9hfY12TSBniiynHy3vanfZJdnqtPQrW+w2BqaU30hqQY0hHmnAViIcW MXpfmcAt8NcmHA9+TBwpObSVZ88BThi3rLU84Qs5CimROf6/w/Yg/2NDLTwEEHjoNOjg LIbukQbcTpTkv/+6/H837niSzdtGfwl2SjozXVAbn4SURkKH46qCJv8K0OX5aRJXXtOk 4rkPzGkij4b7d1b6i+zCpupKwj5qFJNxATmQuH+Z4eYT8pMNG6mcN1ZccxXJa/DZyRz+ LiwK9LHV6z//jel/HLYb6yiOdl9hFXBcoP9xDSuIszFwfxql0qUHDTbX+v7JebrzvOH9 cILA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id m7si1043866lfq.0.2021.09.27.07.17.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Sep 2021 07:17:09 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@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 ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 18REH66D005171 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 27 Sep 2021 16:17:06 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v2 0/4] Use buildstats from OE to generate build charts Date: Mon, 27 Sep 2021 16:17:01 +0200 Message-Id: <20210927141705.25386-1-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: rra8hu67IXqS 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. Uladzimir Bely (4): buildstats: Borrow buildstats and pybootchartgui from OE buildstats: Fix bbclass to work with ISAR buildstats: Manage buildstats via USER_CLASSES variable doc: Add buildstats section in user manual doc/user_manual.md | 19 + meta-isar/conf/local.conf.sample | 2 + meta/classes/buildstats.bbclass | 298 ++++++ meta/conf/bitbake.conf | 2 + 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 ++ 22 files changed, 4141 insertions(+) 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 -- 2.20.1