[dtrace-discuss] anonpgpid.d and sys/vnode.h issue
Michael Shapiro
mws at zion.eng.sun.com
Mon Aug 28 13:54:36 PDT 2006
>
> Howdy,
>
> I recently patched a Solaris 10 server, and it looks like the patch update
> broke the DTraceToolkit anonpgpid.d script:
>
> $ anonpgpid.d
> dtrace: failed to compile script ./anonpgpid.d:
> "/usr/include/sys/kstat.h", line 439: invalid type combination
>
> After doing a bit of digging, it looks like this is caused by the
> "#include <sys/vnode.h>" statement in the script:
>
> $ cat foo
> #include <sys/vnode.h>
>
> syscall:::entry
> {}
>
> $ dtrace -Cs foo
> dtrace: failed to compile script foo: "/usr/include/sys/kstat.h", line
> 439: invalid type combination
>
> Does anyone happen to know if anything changed?
>
> Thanks for any insight,
> - Ryan
What does this stuff report on the system:
$ /usr/bin/uname -rv
$ /usr/ccs/bin/what /usr/include/sys/kstat.h
$ /usr/ccs/bin/what /usr/include/sys/vnode.h
-Mike
--
Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/
More information about the dtrace-discuss
mailing list