From: Wade Farnsworth <wade_farnsworth@mentor.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: [PATCH 1/1] systemtap-uprobes: inhibit package strip
Date: Thu, 2 Aug 2012 07:19:08 -0700 [thread overview]
Message-ID: <501A8C5C.8090503@mentor.com> (raw)
In-Reply-To: <501A8C20.8020502@mentor.com>
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"
--
1.7.0.4
next prev parent reply other threads:[~2012-08-02 14:31 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 ` Wade Farnsworth [this message]
2012-08-15 13:24 ` [PATCH 1/1] " Richard Purdie
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=501A8C5C.8090503@mentor.com \
--to=wade_farnsworth@mentor.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