Bug #3366
Since 151a7, dtrace breaking in strange ways
Start date:
2012-11-15
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Description
Exactly as the title says, ever since I updated to 151a7, I've been unable to use, for example, hotkernel:
- /opt/DTT/hotkernel
Sampling... Hit Ctrl-C to end.
dtrace: invalid probe specifier
#pragma D option quiet
profile:::profile-1001hz
/arg0/ {
@pc[arg0] = count();
}
dtrace:::END {
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
Name: developer/dtrace/toolkit
Summary: SUNWDTraceToolkit
Description: DTraceToolkit (0.99)
Category: Development/System
State: Installed
Publisher: openindiana.org
Version: 0.5.11
Build Release: 5.11
Branch: 0.151.1.7
Packaging Date: October 3, 2012 09:55:09 PM
Size: 2.98 MB
FMRI: pkg://openindiana.org/developer/dtrace/toolkit@0.5.11,5.11-0.151.1.7:20121003T215509Z
- 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 7 years ago
Hi,
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.
Regards.
Updated by Ken Mays over 6 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