From: Martin Jansa <martin.jansa@gmail.com>
To: Christopher Larson <clarson@kergoth.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] buildstats-summary.bbclass: Import useful bbclass from meta-mentor
Date: Wed, 11 Jun 2014 23:24:41 +0200 [thread overview]
Message-ID: <20140611212441.GC2428@jama> (raw)
In-Reply-To: <CABcZANnJG8eMJu__kPstQXajFzHDVkBrRSVLfCqPfOEj5omeKw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1728 bytes --]
On Wed, Jun 11, 2014 at 01:54:38PM -0700, Christopher Larson wrote:
> On Fri, Jun 6, 2014 at 12:27 PM, Martin Jansa <martin.jansa@gmail.com>
> wrote:
>
> > Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> > ---
> > meta/classes/buildstats-summary.bbclass | 43
> > +++++++++++++++++++++++++++++++++
> > 1 file changed, 43 insertions(+)
> > create mode 100644 meta/classes/buildstats-summary.bbclass
> >
> > diff --git a/meta/classes/buildstats-summary.bbclass b/meta/classes/
> > buildstats-summary.bbclass
> > new file mode 100644
> > index 0000000..3c02724
> > --- /dev/null
> > +++ b/meta/classes/buildstats-summary.bbclass
> > @@ -0,0 +1,43 @@
> > +# Imported from meta-mentor
> > +# http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor/log/classes/
> > buildstats-summary.bbclass
> > +# with following modifications
> > +# 1) when both setscene and normal tasks were executed, count it as
> > no_sstate
> > +# 2) count do_populate_sysroot and do_packagedata tasks, because often we
> > invalidate only runtime deps
> >
>
> Looks like useful improvements, nicely done. Have you thought about not
> hardcoding the task list, if we're going to display it this way? See
> https://gist.github.com/kergoth/2519927f59712282e9e8 for a version which
> obeys SSTATETASKS.
I'm fine with your version showing all SSTATETASKS, would you mind
sending PATCHv2 with your modification or should I?
I've hardcoded packagedata only because it was typical case when I was
wondering why the build took so long even with populate_sysroot reused
from sstate (e.g. after some package.bbclass change), but showing all
doesn't hurt.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2014-06-11 21:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 19:27 [PATCH] buildstats-summary.bbclass: Import useful bbclass from meta-mentor Martin Jansa
2014-06-11 20:54 ` Christopher Larson
2014-06-11 21:24 ` Martin Jansa [this message]
2014-06-13 16:45 ` [PATCH v2] " Christopher Larson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140611212441.GC2428@jama \
--to=martin.jansa@gmail.com \
--cc=clarson@kergoth.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox