public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Adding ppc64le loader to interpreter list
@ 2015-04-24 11:51 Athira
  2015-04-24 13:08 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Athira @ 2015-04-24 11:51 UTC (permalink / raw)
  To: systemtap; +Cc: mjw, fche, hemkshaw

listing_mode.exp tests using stap -l for process.library are failing on 
ppc64le.

Using the liblisting_mode.so library and executable from the testsuite, 
stap  -l is not listing any probe points.

#stap -l 'process.library("liblisting_mode.so").function("libfoo")' -c 
listing_mode

Running with verbose mode:
"WARNING: module /usr/share/systemtap/testsuite/listing_mode --ldd 
skipped: unsupported interpreter: /lib64/ld64.so.2"

This is because /lib64/ld64.so.2 is not added in the interpreter list. 
So Adding the ppc64le loader to the code.

Signed-off-by: Athira Rajeev <atrajeev@in.ibm.com>
---
  dwflpp.cxx | 1 +
  1 file changed, 1 insertion(+)

diff --git a/dwflpp.cxx b/dwflpp.cxx
index fd104e9..28b9dcb 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -1287,6 +1287,7 @@ dwflpp::iterate_over_libraries<void>(void 
(*callback)(void*, const char*),
        && interpreter != "/lib/ld-linux.so.3"            // arm
        && interpreter != "/lib/ld-linux-armhf.so.3"      // arm
        && interpreter != "/lib/ld-linux-aarch64.so.1"    // arm64
+      && interpreter != "/lib64/ld64.so.2"              // ppc64le
        )
      {
        sess.print_warning (_F("module %s --ldd skipped: unsupported 
interpreter: %s",
-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Adding ppc64le loader to interpreter list
  2015-04-24 11:51 [PATCH] Adding ppc64le loader to interpreter list Athira
@ 2015-04-24 13:08 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2015-04-24 13:08 UTC (permalink / raw)
  To: Athira; +Cc: systemtap, fche, hemkshaw

Hi Athira,

On Fri, Apr 24, 2015 at 05:20:51PM +0530, Athira wrote:
> This is because /lib64/ld64.so.2 is not added in the interpreter list. So
> Adding the ppc64le loader to the code.

Thanks. Pushed as commit 8773f8f.

Cheers,

Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-24 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-24 11:51 [PATCH] Adding ppc64le loader to interpreter list Athira
2015-04-24 13:08 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).