From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] systemtap-uprobes: inhibit package strip
Date: Wed, 15 Aug 2012 14:24:58 +0100 [thread overview]
Message-ID: <1345037098.538.5.camel@ted> (raw)
In-Reply-To: <501A8C5C.8090503@mentor.com>
On Thu, 2012-08-02 at 07:19 -0700, Wade Farnsworth wrote:
> uprobes.ko is not located in /lib/modules, so it fails the check in
> runstrip that ensures that only the debug section is stripped, leaving
> the symbols untouched. This prevents the module from being inserted at
> run time. Inhibiting package stripping fixes the problem.
>
> Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
> ---
> .../systemtap/systemtap-uprobes_git.bb | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb
> index b328e6b..f135a54 100644
> --- a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb
> +++ b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb
> @@ -9,6 +9,8 @@ PR = "r0"
> # On systems without CONFIG_UTRACE, this package is empty.
> ALLOW_EMPTY_${PN} = "1"
>
> +INHIBIT_PACKAGE_STRIP = "1"
> +
> inherit module-base gettext
>
> FILES_${PN} += "${datadir}/systemtap/runtime/uprobes"
I think we need to teach package.bbclass to identify kernel modules
better (.ko extension?) rather than hack around this for each external
module...
Cheers,
Richard
next prev parent reply other threads:[~2012-08-15 13:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-02 14:18 [PATCH 0/1] systemtap-uprobes: inhibit package strip Wade Farnsworth
2012-08-02 14:19 ` [PATCH 1/1] " Wade Farnsworth
2012-08-15 13:24 ` Richard Purdie [this message]
2012-08-15 13:30 ` Martin Jansa
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=1345037098.538.5.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--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