On Wed, Oct 01, 2008 at 12:02:04PM -0700, Paul Macknee wrote:
> The alternative I see, is to need to know the usage about each syscall (all
> hundreds of them) and write hundreds of separate probes that know how the
> arguments are to be parsed.  As it is, if I even try to do intelligent
> preprocessing:

That would already be necessary: there's no type information for system calls
and no typed arguments. For a DTrace-based truss you'd need to replicate the
gigantic tables in the truss source code.

Adam


-- 
Adam Leventhal, Fishworks                     http://blogs.sun.com/ahl
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to