This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH] Adding ppc64le loader to interpreter list
- From: Athira <atrajeev at linux dot vnet dot ibm dot com>
- To: systemtap at sourceware dot org
- Cc: mjw at redhat dot com, fche at redhat dot com, hemkshaw at in dot ibm dot com
- Date: Fri, 24 Apr 2015 17:20:51 +0530
- Subject: [PATCH] Adding ppc64le loader to interpreter list
- Authentication-results: sourceware.org; auth=none
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",
--