From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23724 invoked by alias); 6 Mar 2006 22:23:46 -0000 Received: (qmail 23708 invoked by uid 48); 6 Mar 2006 22:23:43 -0000 Date: Mon, 06 Mar 2006 22:23:00 -0000 From: "hunt at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20060306222343.2427.hunt@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/2427] New: optimization imporvement X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00717.txt.bz2 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.