From: Mark Hatle <mark.hatle@windriver.com>
To: poky@yoctoproject.org
Subject: [PATCH 0/4] Refactor debug info generation
Date: Fri, 11 Feb 2011 08:55:58 -0600 [thread overview]
Message-ID: <cover.1297435715.git.mark.hatle@windriver.com> (raw)
The primary purpose of this patch is to refactor the way the -dbg packages
and associated files are generated. In the original code it's being done
in one operation with the splitting and stripping of the files within the
populate_packages. The code was split from there, and then modified in two
steps to get to the final version.
The first step implemented the new method where the split occurs and then the
strip occurs. This makes it easier to tailor each of them as things change
in the future.
The second path refactors this to eleminate multiple file walks and file
identification processing. The behavior of the system is the same, only
things are more efficient.
The fourth patch is simply a bug fix to some pre/post actions I found
while diagnosing and debugging. This patch is separate from the rest of the
refactoring and should be merged, even if the others are not.
FYI, I also did timing on this to see how it impacted system performance.
The times below affect ONLY the do_package [and later] stages, on my specific
host. (8 core with a 16/16 build configuration)
Original before these changes:
real 37m29.035s
user 41m14.322s
sys 31m0.006s
After the changes -- using "debian" style debuginfo, i.e. the same output
as the original style:
real 36m48.160s
user 42m17.636s
sys 31m47.846s
After the changes -- using the new "fedora" style debug info:
real 38m48.793s
user 44m9.822s
sys 37m48.803s
The first two are nearly the same. Any deviation is likely due to the
additional hardlink/symlink processing.
The fedora style introduces additional steps in the process that rewrite
source code references and duplicate specific source code files into the
-dbg directory for later (easier) debugging.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: mhatle/debuginfo
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/debuginfo
Thanks,
Mark Hatle <mark.hatle@windriver.com>
---
Mark Hatle (4):
package.bbclass: Breakout the strip from the populate_packages
Revise stripping and splitting of debug information
package.bbclass: Refactor split and strip function
recipes: pre/post actions
meta/classes/insane.bbclass | 4 +-
meta/classes/package.bbclass | 325 +++++++++++++++++---
meta/conf/bitbake.conf | 7 +-
meta/conf/local.conf.sample | 28 ++
meta/recipes-bsp/hostap/hostap-conf_1.0.bb | 4 +-
meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 4 +-
meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb | 4 +-
.../libnss-mdns/libnss-mdns_0.10.bb | 4 +-
.../ppp-dialin/ppp-dialin_0.1.bb | 4 +-
.../recipes-core/base-passwd/base-passwd_3.5.22.bb | 2 +-
meta/recipes-core/dropbear/dropbear.inc | 4 +-
.../sgml-common/sgml-common_0.6.3.bb | 4 +-
meta/recipes-extended/bash/bash.inc | 2 +-
meta/recipes-extended/bash/bash_3.2.48.bb | 2 +-
meta/recipes-extended/sudo/sudo.inc | 2 +-
.../ttf-fonts/liberation-fonts_1.04.bb | 2 +-
.../ttf-fonts/liberation-fonts_1.06.bb | 2 +-
.../ttf-fonts/ttf-bitstream-vera_1.10.bb | 2 +-
.../update-modules/update-modules_1.0.bb | 2 +-
19 files changed, 340 insertions(+), 68 deletions(-)
--
1.7.3.4
next reply other threads:[~2011-02-11 14:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 14:55 Mark Hatle [this message]
2011-02-11 14:55 ` [PATCH 1/4] package.bbclass: Breakout the strip from the populate_packages Mark Hatle
2011-02-11 14:56 ` [PATCH 2/4] Revise stripping and splitting of debug information Mark Hatle
2011-02-11 14:56 ` [PATCH 3/4] package.bbclass: Refactor split and strip function Mark Hatle
2011-02-11 14:56 ` [PATCH 4/4] recipes: pre/post actions Mark Hatle
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=cover.1297435715.git.mark.hatle@windriver.com \
--to=mark.hatle@windriver.com \
--cc=poky@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.