This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: aux-syscalls change
> > If there is an arg "struct timeval __user *tvp" and a script tries
> > to print $tvp, could it not automatically be copied from userspace
> > and decoded?
>
> As you know, the debugging data does not currently include attributes
> like "__user". OTOH, we may be able to apply heuristics that guess,
> based upon the pointer value, whether it's user- or kernel-space. Can
> there be a version of kta() for data?
__user only applies to kernel functions, so it might tie in nicely with
4262. Have our debuginfo compression utility scan the kernel sources
for function prototypes and mark args with __user. Output a compressed,
optimized format for systemtap that includes this info.
Martin