> > Hi, > > I have a problem with dtrace in the latest Software Express (Nevada nv_07 > X86) booted into the latest OpenSolaris kernel (SunOS lokrum 5.10.1 > tonic-clone-i386..24-Feb-2005 i86pc i386 i86pc). > > A simple script like > > # dtrace -n ''syscall:::entry {@[probefunc] = count() }'' > > returns the following error message: > > bash-3.00# dtrace -n ''syscall:::entry {@[probefunc] = count(); }'' > dtrace: invalid probe specifier syscall:::entry {@[probefunc] = count(); > }: "/usr/lib/dtrace/procfs.d", line 312: operator . cannot be applied to > type "struct sem *"; must be applied to a struct or union > > It seems as if some files were not updated for Nevada. > > What shall I do? > > TIA, Dragan >You have mismatched CTF information (this is the symbolic type information that DTrace and MDB use to understand kernel types). Did you download the binaries you are running from somewhere or did you build them yourself? If you downloaded them, from where? If you build them, did you do a full nightly or an incremental build? With what changes? -Mike -- Mike Shapiro, Solaris Kernel Development. _______________________________________________ DTrace mailing list DTrace@opensolaris.org https://www.opensolaris.org/mailman/listinfo/dtrace
> > Hi, > > I have a problem with dtrace in the latest Software Express (Nevada nv_07 > X86) booted into the latest OpenSolaris kernel (SunOS lokrum 5.10.1 > tonic-clone-i386..24-Feb-2005 i86pc i386 i86pc). >Btw, the same kernel returns hostid as 000000 (don''t remember how many of them). If I boot the standard snv_07 kernel (i.e. SunOS lokrum 5.10.1 snv_07 i86pc i386 i86pc), hostid works fine. Is that another problem with OpenSolaris source or is it me miscompiling it? Thanks and bye, Dragan P.S. To Mike: I have installed Solaris express 2/05 here and then downloaded the latest kernel from OpenSolaris.org (20050226) and run full nightly on it. The only thing switched off was debugging. However, I didn''t do any BFU-ing. -- Dr Dragan Cvetkovic, To be or not to be is true. G. Boole No it isn''t. L. E. J. Brouwer _______________________________________________ DTrace mailing list DTrace@opensolaris.org https://www.opensolaris.org/mailman/listinfo/dtrace
Hi, I have a problem with dtrace in the latest Software Express (Nevada nv_07 X86) booted into the latest OpenSolaris kernel (SunOS lokrum 5.10.1 tonic-clone-i386..24-Feb-2005 i86pc i386 i86pc). A simple script like # dtrace -n ''syscall:::entry {@[probefunc] = count() }'' returns the following error message: bash-3.00# dtrace -n ''syscall:::entry {@[probefunc] = count(); }'' dtrace: invalid probe specifier syscall:::entry {@[probefunc] = count(); }: "/usr/lib/dtrace/procfs.d", line 312: operator . cannot be applied to type "struct sem *"; must be applied to a struct or union It seems as if some files were not updated for Nevada. What shall I do? TIA, Dragan -- Dr Dragan Cvetkovic, To be or not to be is true. G. Boole No it isn''t. L. E. J. Brouwer _______________________________________________ DTrace mailing list DTrace@opensolaris.org https://www.opensolaris.org/mailman/listinfo/dtrace