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]

[Bug translator/9792] New: probefunc() returns absolute address instead of the function name


When running the make installcheck RUNTESTFLAGS="probefunc.exp" on the latest
systemtap sources, the probefunc() returns absolute address instead of the
function name.

# stap -V
SystemTap translator/driver (version 0.8/0.139 non-git sources)

Reverting the following commit, restores the behaviour of returning function name.

commit 7d9b821db6bc494417a57321b419c6b9481a2128
Author: Roland McGrath <roland@redhat.com>
Date:   Thu Dec 18 15:08:09 2008 -0800

    Fix last fix: ET_DYN addresses are taken as relative to MOD->low_addr.


global funcname
    probe kernel.statement(0xc000000000052aac).absolute {
        funcname = probefunc()
    }
    probe begin {
        log("systemtap starting probe")
    }
    probe end {
        log("systemtap ending probe")
        printf("%s\n", funcname)
    }

-- 
           Summary: probefunc() returns absolute address instead of the
                    function name
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: kamalesh at linux dot vnet dot ibm dot com


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

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


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