* [PATCH 0/1][master] Fix for Bug 5403
@ 2013-12-31 19:59 Tom Zanussi
2013-12-31 19:59 ` [PATCH 1/1] systemtap: Add --enable-prologues to configuration Tom Zanussi
0 siblings, 1 reply; 2+ messages in thread
From: Tom Zanussi @ 2013-12-31 19:59 UTC (permalink / raw)
To: openembedded-core; +Cc: Tom Zanussi
This fixes a problem seen when accessing function params in systemtap
on certain platforms, due to flaky debuginfo.
Tested on the following machines with various systemtap scripts:
qemuppc
qemuarm
qemux86
qemux86-64
crownbay
nuc
The following changes since commit 005af45191ded6185c618c708181b31281e43092:
bitbake: fetch2: avoid printing "no checksum" error message twice (2013-12-22 14:29:13 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-bug-5403-master
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/systemtap-bug-5403-master
Tom Zanussi (1):
systemtap: Add --enable-prologues to configuration
meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] systemtap: Add --enable-prologues to configuration
2013-12-31 19:59 [PATCH 0/1][master] Fix for Bug 5403 Tom Zanussi
@ 2013-12-31 19:59 ` Tom Zanussi
0 siblings, 0 replies; 2+ messages in thread
From: Tom Zanussi @ 2013-12-31 19:59 UTC (permalink / raw)
To: openembedded-core; +Cc: Tom Zanussi
In some cases, the debuginfo generated by the compiler is insufficient
for systemtap to figure out function param locations; using -P allows
it to use prologue searching to find the correct locations.
Enable prologue searching in the configuration so the user doesn't
have to specify it manually.
Fixes [YOCTO #5403].
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index bcc826a..3fd27bc 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -12,7 +12,7 @@ RDEPENDS_${PN}_class-nativesdk += "python-native"
EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
--without-nss --without-avahi --without-dyninst \
- --disable-server --disable-grapher \
+ --disable-server --disable-grapher --enable-prologues \
ac_cv_prog_have_javac=no \
ac_cv_prog_have_jar=no "
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-31 19:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-31 19:59 [PATCH 0/1][master] Fix for Bug 5403 Tom Zanussi
2013-12-31 19:59 ` [PATCH 1/1] systemtap: Add --enable-prologues to configuration Tom Zanussi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox