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: 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



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