This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: 2.6 kernel syscall changes
- From: Martin Hunt <hunt at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: Mon, 09 Jan 2006 10:58:59 -0800
- Subject: Re: 2.6 kernel syscall changes
- Organization: Red Hat Inc
- References: <1136497266.4730.19.camel@monkey2> <y0mvewtxork.fsf@toenail.toronto.redhat.com>
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