[Bug tapsets/11794] New: returnstr(fmt) needs to be replaced with return_str(fmt, $return)

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jul 7 16:57:00 GMT 2010


Several tapsets (most notable the syscall tapsets) call returnstr(fmt) to get
the return value formatted as a string.  returnstr() calls _stp_returnval() to
poke around in the (architecture specific) registers to find the return value. 
We already have that information in $return.  So, whenever possible, we should
replace 'returnstr(fmt)' with 'return_str(fmt, $return)', which should produce
the exact same result.

-- 
           Summary: returnstr(fmt) needs to be replaced with return_str(fmt,
                    $return)
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: dsmith at redhat dot com


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

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



More information about the Systemtap mailing list