Project

General

Profile

Bug #3366

Since 151a7, dtrace breaking in strange ways

Added by Rich Ercolani about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
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:
  1. /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

  1. uname -a
    SunOS dss003 5.11 oi_151a7 i86pc i386 i86pc Solaris
  1. 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:,5.11-0.151.1.7:20121003T215509Z
  1. 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.

History

#1

Updated by Ken Mays almost 7 years ago

  • Assignee set to OI illumos
#2

Updated by Predrag Zečević almost 6 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.

#3

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

Also available in: Atom PDF