This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Adding ppc64le loader to interpreter list


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",
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]