[Bug translator/17622] New: On aarch64 ./systemtap.base/listing_mode.exp fails to find any probe points for process.library("liblisting_mode.so").function("libfoo")

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Tue Nov 18 22:50:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=17622

            Bug ID: 17622
           Summary: On aarch64  ./systemtap.base/listing_mode.exp fails to
                    find any probe points for
                    process.library("liblisting_mode.so").function("libfoo
                    ")
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: wcohen at redhat dot com

A significant portion of the test failures on aarch64 are due to stap -l not
listing any probe points for
process.library("liblisting_mode.so").function("*").  In the systemtap.log see
many entries like the following:

executing: stap -l process.library("liblisting_mode.so").function("libfoo")  -c 
 listing_mode
received: "child process exited abnormally"
expected:
"^process\("/root/systemtap_write/systemtap/testsuite/listing_mode"\).library\("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so"\)\.function\("libfoo@[^:]+:54"\)$"
FAIL: listing_mode (process.library("liblisting_mode.so").function("libfoo") 
-c listing_mode)

Using the liblisting_mode.so shared library and liblisting_mode executable
built from the test the following generates nothing:

# stap -l 'process.lib("liblisting_mode.so").function("*")'
#

However, the following does find the function information:

# stap -l 'process("liblisting_mode.so").function("*")'
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("__do_global_dtors_aux")
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("_fini")
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("_init")
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("call_weak_fn")
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("deregister_tm_clones")
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("frame_dummy")
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("libbar@./systemtap.base/listing_mode.c:47")
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("libfoo@./systemtap.base/listing_mode.c:54")
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("libinln@./systemtap.base/listing_mode.c:42")
process("/root/systemtap_write/systemtap/testsuite/liblisting_mode.so").function("register_tm_clones")

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Systemtap mailing list