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]

Re: optimization


On 1/24/06, Frank Ch. Eigler <fche@redhat.com> wrote:
> Hi -
>
> I just committed some work toward PR 2060.  It's a new optimization
> sub-pass that runs during the elaboration phase, and aims to eliminate
> useless functions, assignments, expressions, variables.  "-u" disables
> it; "-v" tells you what it removed.
>
Hi

perhaps -O  would be better since it would then be the same as  gcc uses.

James dickens
uadmin.blogspot.com



> Plain script code should not be affected (since one only rarely puts
> in a deliberately unused side-effect-free expression).  On the other
> hand, tapset code that aggressively defines lots of local variables
> from $target ones will see a drastic effect on debuginfo fault
> tolerance, and quite possibly performance.
>
> Please let me know of any problems you notice.
>
> - FChE
>


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