Since 151a7, dtrace breaking in strange ways
Sampling... Hit Ctrl-C to end.
dtrace: invalid probe specifier
#pragma D option quiet
@pc[arg0] = count();
printa("%a %@d\\n", @pc);
: "/usr/lib/dtrace/tcp.d", line 105: cannot find type: tcph_t*: Conflicting type is already defined
FUNCTION COUNT PCNT
- uname -a
SunOS dss003 5.11 oi_151a7 i86pc i386 i86pc Solaris
- pkg info dtrace/toolkit
Description: DTraceToolkit (0.99)
Build Release: 5.11
Packaging Date: October 3, 2012 09:55:09 PM
Size: 2.98 MB
- pkg publisher
PUBLISHER TYPE STATUS URI
openindiana.org origin online http://pkg.openindiana.org/dev/
Not running a custom kernel build or anything, haven't overwritten my dtrace toolkit binaries with anything.
Updated by Predrag Zečević almost 6 years ago
some still doesn't work:
$ uname -rosv SunOS 5.11 illumos-c789312 Solaris $ sudo /opt/DTT/Net/connections dtrace: failed to compile script /dev/fd/3: line 62: tcpu_ports is not a member of union $ sudo /opt/DTT/Net/tcptop "/usr/include/sys/modctl.h", line 317: major: argument mismatch dtrace: failed to compile script /dev/fd/3: "/usr/include/sys/modctl.h", line 317: syntax error near "1"
but mentioned problem is gone ( I am running /hipster OI):
$ sudo /opt/DTT/hotkernel Sampling... Hit Ctrl-C to end. ^C FUNCTION COUNT PCNT unix`sep_restore 1 0.0% genunix`vmem_getseg 1 0.0% unix`rw_enter 1 0.0% unix`ddi_io_put16 1 0.0% unix`gethrestime_sec 1 0.0% FSS`fss_active 1 0.0% genunix`avl_last 1 0.0% ...
Didn't tried all, just couple.
Updated by Ken Mays over 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
User confirmed original problem is fixed.
Retest using: http://dlc.openindiana.org/isos/hipster/OI-hipster-text-20140701.iso