public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/14026] New: print_ubacktrace doesn't resolve the symbol name
@ 2012-04-27 10:00 adrian.m.negreanu at intel dot com
  2012-04-27 10:02 ` [Bug runtime/14026] " adrian.m.negreanu at intel dot com
                   ` (41 more replies)
  0 siblings, 42 replies; 46+ messages in thread
From: adrian.m.negreanu at intel dot com @ 2012-04-27 10:00 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14026

             Bug #: 14026
           Summary: print_ubacktrace doesn't resolve the symbol name
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap@sourceware.org
        ReportedBy: adrian.m.negreanu@intel.com
    Classification: Unclassified


Created attachment 6372
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6372
readelf -a on the debug file

On an android x86 target, I'm trying this script:

probe process("/system/bin/mksh").function("chvt_reinit") {
        printf("%s: pid=%d\n", module_name(), pid());
        printf("%s: ", module_name());
        print_regs();
        print_ubacktrace();
        printf("%s: DONE\n",module_name());
}

The backtrace consists of only addresses.
I attached the output of stap + staprun,
readelf -a on the target executable and
 of its .gnu_debuglink
and also the "readelf -debug-dump=frames target_executable".

One thing I noticed while trying to get more insight of what's happening,
was that if I define UNW_PC_FROM_RA to be 1, in -debug-dump=frames
the symbol is resolved but unwind() will only unwind the topmost frame.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

end of thread, other threads:[~2012-08-15 15:12 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-27 10:00 [Bug runtime/14026] New: print_ubacktrace doesn't resolve the symbol name adrian.m.negreanu at intel dot com
2012-04-27 10:02 ` [Bug runtime/14026] " adrian.m.negreanu at intel dot com
2012-04-27 10:03 ` adrian.m.negreanu at intel dot com
2012-04-27 13:51 ` adrian.m.negreanu at intel dot com
2012-04-27 13:57 ` mjw at redhat dot com
2012-04-27 15:23 ` adrian.m.negreanu at intel dot com
2012-04-27 15:39 ` adrian.m.negreanu at intel dot com
2012-05-02 13:22 ` adrian.m.negreanu at intel dot com
2012-05-02 14:06 ` mjw at redhat dot com
2012-05-02 14:30 ` adrian.m.negreanu at intel dot com
2012-05-02 14:33 ` adrian.m.negreanu at intel dot com
2012-05-02 14:44 ` adrian.m.negreanu at intel dot com
2012-05-02 14:49 ` mjw at redhat dot com
2012-05-02 15:34 ` mjw at redhat dot com
2012-05-02 15:38 ` mjw at redhat dot com
2012-05-02 19:56 ` mjw at redhat dot com
2012-05-03  9:55 ` mjw at redhat dot com
2012-05-04 13:11 ` adrian.m.negreanu at intel dot com
2012-05-04 13:51 ` adrian.m.negreanu at intel dot com
2012-05-06 12:43 ` mjw at redhat dot com
2012-05-06 12:44 ` mjw at redhat dot com
2012-05-06 12:45 ` mjw at redhat dot com
2012-05-06 12:46 ` mjw at redhat dot com
2012-05-06 12:47 ` mjw at redhat dot com
2012-05-06 12:47 ` mjw at redhat dot com
2012-05-06 12:48 ` mjw at redhat dot com
2012-05-06 13:09 ` mjw at redhat dot com
2012-05-06 19:39 ` mjw at redhat dot com
2012-05-06 21:16 ` fche at redhat dot com
2012-05-06 21:31 ` fche at redhat dot com
2012-05-07  8:43 ` mjw at redhat dot com
2012-05-07 13:45 ` [Bug runtime/14026] inode based uprobes " mjw at redhat dot com
2012-07-19 14:53 ` fche at redhat dot com
2012-07-23  5:57   ` Srikar Dronamraju
2012-07-23  8:26     ` Mark Wielaard
2012-07-23  9:35       ` Srikar Dronamraju
2012-07-19 20:56 ` [Bug runtime/14026] inode-uprobes should compute proper SET_REG_IP before probe invocation fche at redhat dot com
2012-07-26 22:09 ` fche at redhat dot com
2012-08-14 21:55 ` dsmith at redhat dot com
2012-08-14 22:10 ` dsmith at redhat dot com
2012-08-14 22:20 ` mjw at redhat dot com
2012-08-14 22:28 ` mjw at redhat dot com
2012-08-15 14:09 ` dsmith at redhat dot com
2012-08-15 14:14 ` dsmith at redhat dot com
2012-08-15 14:25 ` mjw at redhat dot com
2012-08-15 15:12 ` dsmith 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).