This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/11794] New: returnstr(fmt) needs to be replaced with return_str(fmt, $return)
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 7 Jul 2010 16:56:44 -0000
- Subject: [Bug tapsets/11794] New: returnstr(fmt) needs to be replaced with return_str(fmt, $return)
- Reply-to: sourceware-bugzilla at sourceware dot org
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.