public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [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")
@ 2014-11-18 22:50 wcohen at redhat dot com
  2014-11-19  3:28 ` [Bug translator/17622] " wcohen at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: wcohen at redhat dot com @ 2014-11-18 22:50 UTC (permalink / raw)
  To: systemtap

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.

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

* [Bug translator/17622] On aarch64  ./systemtap.base/listing_mode.exp fails to find any probe points for process.library("liblisting_mode.so").function("libfoo")
  2014-11-18 22:50 [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
@ 2014-11-19  3:28 ` wcohen at redhat dot com
  2014-11-19 15:01 ` wcohen at redhat dot com
  2014-11-19 15:25 ` wcohen at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: wcohen at redhat dot com @ 2014-11-19  3:28 UTC (permalink / raw)
  To: systemtap

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

--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
To see the problem downloaded systemtap git tree, built it, and
installed it.  Then ran the listing_mode.exp portion of the testsuite
with:

 make installcheck RUNTESTFLAGS="--debug systemtap.base/listing_mode.exp"

on x86_64 get the following reasonable result

        === systemtap Summary ===

# of expected passes        1547
# of known failures        34

on aarch64  get the much worse results:

        === systemtap Summary ===

# of expected passes        552
# of unexpected failures    563
# of known failures        50

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

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

* [Bug translator/17622] On aarch64  ./systemtap.base/listing_mode.exp fails to find any probe points for process.library("liblisting_mode.so").function("libfoo")
  2014-11-18 22:50 [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
  2014-11-19  3:28 ` [Bug translator/17622] " wcohen at redhat dot com
@ 2014-11-19 15:01 ` wcohen at redhat dot com
  2014-11-19 15:25 ` wcohen at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: wcohen at redhat dot com @ 2014-11-19 15:01 UTC (permalink / raw)
  To: systemtap

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

William Cohen <wcohen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from William Cohen <wcohen at redhat dot com> ---
Added appropriate loader for arm64 to the dwflpp.cxx white list code.

commit 71c1bc376a21319d44109c2b9e9228955bb729b6

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

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

* [Bug translator/17622] On aarch64  ./systemtap.base/listing_mode.exp fails to find any probe points for process.library("liblisting_mode.so").function("libfoo")
  2014-11-18 22:50 [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
  2014-11-19  3:28 ` [Bug translator/17622] " wcohen at redhat dot com
  2014-11-19 15:01 ` wcohen at redhat dot com
@ 2014-11-19 15:25 ` wcohen at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: wcohen at redhat dot com @ 2014-11-19 15:25 UTC (permalink / raw)
  To: systemtap

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

--- Comment #3 from William Cohen <wcohen at redhat dot com> ---
Now the arm64 results for the following are much better:

 make installcheck RUNTESTFLAGS="--debug systemtap.base/listing_mode.exp"

        === systemtap Summary ===

# of expected passes        1266
# of unexpected failures    4
# of known failures        50

The failures and known failures are due to the lack of plt support for arm64.

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

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

end of thread, other threads:[~2014-11-19 15:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-18 22:50 [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
2014-11-19  3:28 ` [Bug translator/17622] " wcohen at redhat dot com
2014-11-19 15:01 ` wcohen at redhat dot com
2014-11-19 15:25 ` wcohen at redhat dot com

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