[dtrace-discuss] Re: tcptop fail to run
Jim Fiori
jim.fiori at sun.com
Thu Dec 14 04:39:59 PST 2006
Jens Nickel wrote:
> Hi All,
>
> i applied the mentioned patch which is yet at 119578-30 and
> i still get the same error.
> Unfortunately i found on Sunsolve the following Note
>
> Bug ID: 6468001
...
>
> it seems, that we have to wait... :-)
>
Or use a hack for a work-around:
Place a copy of /usr/include/sys/kstat.h into the Net/ directory of the toolkit.
Edit that file to change the "string" definition to "String":
# diff kstat.h /usr/include/sys
439c439
< } String;
---
> } string;
Edit tcptop to include this kstat.h:
# diff tcptop tcptop.sav
111c111
< /usr/sbin/dtrace -I. -Cs <( print -r '
---
> /usr/sbin/dtrace -Cs <( print -r '
126d125
< #include "kstat.h"
# ./tcptop
Tracing... Please wait.
Jim
More information about the dtrace-discuss
mailing list