This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2427] New: optimization imporvement
- From: "hunt at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 Mar 2006 22:23:43 -0000
- Subject: [Bug translator/2427] New: optimization imporvement
- Reply-to: sourceware-bugzilla at sourceware dot org
In the syscall tapset, we do lots of things like
argstr = sprintf("%d, %s, %d", $fd,
_struct_sockaddr_u($uservaddr,$addrlen),$addrlen)
Now, if argstr is not used, the argstr assignment is still not optimized out. I
assume this is because the translator has no way of knowing what
_struct_sockaddr_u() is doing. Is there some way the translator could detect
that it is safe to optimize out or some way we could specify an attribute for
embedded functions to indicate this?
--
Summary: optimization imporvement
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P3
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: hunt at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2427
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.