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: 2.6 kernel syscall changes


On Mon, 2006-01-09 at 13:03 -0500, Frank Ch. Eigler wrote:

> But the parameter access problem is real.  It would be nice to have
> some solution that would be useful even with correct debuginfo.
> 
> How about this: the translator could perform an early-stage
> optimization during pass 2, which removes some classes of
> subexpressions that have no side-effects.  This would include
> assignments to variables that are never read.  Probe aliases that copy
> a slew of $target variables into local script variables would quietly
> tolerate the unresolvability of just those variables that are not used
> by the end-user scripts.

If you could do that, it sounds like a nearly ideal solution.

You fix that, I'll try to fix the syscall tapset by putting it back in
one file and adding a bunch of conditionals on arch and kernel and we'll
see what things look like then. OK?

Martin



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