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 tapsets/11794] New: returnstr(fmt) needs to be replaced with return_str(fmt, $return)


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.


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