Skip to contentSkip to conversation

- Fix for Bug 5403

PATCH In review Tom Zanussi 4 participants 7 messages Dec 30, 2013 – Jan 3, 2014

lore
Share & tools
lore
#0 lore raw

cover - Fix for Bug 5403

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 3cf2d232529c4fd6b58f87ddbf3df9d805e4180f:

libsoup-2.4: add intltool-native to DEPENDS (2013-12-20 09:29:05 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-bug-5403-dora
http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/systemtap-bug-5403-dora

Tom Zanussi (1):
systemtap: Add --enable-prologues to configuration

 meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 systemtap: Add --enable-prologues to configuration

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].

---
 meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/systemtap/systemtap_git.bb +1 -1
index bcc826a..3fd27bc 100644
@@ -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 "
 
Signature · 1 line
1.8.3.1
#2 lore raw
In reply to Tom Zanussi

Hi Tom,

Thanks, do we also need a patch for master ?

// Robert

Quoted 27 lines · 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 3cf2d232529c4fd6b58f87ddbf3df9d805e4180f:

   libsoup-2.4: add intltool-native to DEPENDS (2013-12-20 09:29:05 +0000)

are available in the git repository at:

   git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-bug-5403-dora
   http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/systemtap-bug-5403-dora

Tom Zanussi (1):

   systemtap: Add --enable-prologues to configuration
  meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
#3 lore raw

Hi Robert,

Yes, I'm still testing the one for master - will post tomorrow.

Tom

Quoted 34 lines · Robert Yang

Hi Tom,

Thanks, do we also need a patch for master ?

// Robert

Quoted 27 lines · 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 3cf2d232529c4fd6b58f87ddbf3df9d805e4180f:

   libsoup-2.4: add intltool-native to DEPENDS (2013-12-20 09:29:05 +0000)

are available in the git repository at:

   git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-bug-5403-dora
   http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/systemtap-bug-5403-dora

Tom Zanussi (1):

   systemtap: Add --enable-prologues to configuration
  meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
#4 lore raw
Quoted 4 lines · Tom Zanussi

Hi Robert,

Yes, I'm still testing the one for master - will post tomorrow.

Right, we should have the master patch backported into dora hopefully the changes will be the same.

Sau!

Quoted 45 lines

Tom

Quoted 34 lines · Robert Yang

Hi Tom,

Thanks, do we also need a patch for master ?

// Robert

Quoted 27 lines · 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 3cf2d232529c4fd6b58f87ddbf3df9d805e4180f:

    libsoup-2.4: add intltool-native to DEPENDS (2013-12-20 09:29:05 +0000)

are available in the git repository at:

    git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-bug-5403-dora
    http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/systemtap-bug-5403-dora

Tom Zanussi (1):

    systemtap: Add --enable-prologues to configuration
   meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#5 lore raw
In reply to Tom Zanussi

Hi Robert,

So this has been pulled into master, but I don't see it in dora.

Is there anything else I need to do so I can close the bug out?

Tom

Quoted 43 lines · Tom Zanussi

Hi Robert,

Yes, I'm still testing the one for master - will post tomorrow.

Tom

Quoted 34 lines · Robert Yang

Hi Tom,

Thanks, do we also need a patch for master ?

// Robert

Quoted 27 lines · 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 3cf2d232529c4fd6b58f87ddbf3df9d805e4180f:

   libsoup-2.4: add intltool-native to DEPENDS (2013-12-20 09:29:05 +0000)

are available in the git repository at:

   git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-bug-5403-dora
   http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/systemtap-bug-5403-dora

Tom Zanussi (1):

   systemtap: Add --enable-prologues to configuration
  meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
#6 lore raw

Hi Tom,

Thanks, I've put it on the dora-next, and we need wait for RP's merge, you don't have to do anything else:-)

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=robert/dora-next

// Robert

Quoted 56 lines · Tom Zanussi

Hi Robert,

So this has been pulled into master, but I don't see it in dora.

Is there anything else I need to do so I can close the bug out?

Tom

Quoted 43 lines · Tom Zanussi

Hi Robert,

Yes, I'm still testing the one for master - will post tomorrow.

Tom

Quoted 34 lines · Robert Yang

Hi Tom,

Thanks, do we also need a patch for master ?

// Robert

Quoted 27 lines · 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 3cf2d232529c4fd6b58f87ddbf3df9d805e4180f:

    libsoup-2.4: add intltool-native to DEPENDS (2013-12-20 09:29:05 +0000)

are available in the git repository at:

    git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-bug-5403-dora
    http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/systemtap-bug-5403-dora

Tom Zanussi (1):

    systemtap: Add --enable-prologues to configuration
   meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)