Print this page
INTRO-118 enabling USDT probes in zones should be more scalable

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdtrace/common/dt_impl.h
          +++ new/usr/src/lib/libdtrace/common/dt_impl.h
↓ open down ↓ 259 lines elided ↑ open up ↑
 260  260          char *dt_cpp_path;      /* pathname of cpp(1) to invoke if needed */
 261  261          char **dt_cpp_argv;     /* argument vector for exec'ing cpp(1) */
 262  262          int dt_cpp_argc;        /* count of initialized cpp(1) arguments */
 263  263          int dt_cpp_args;        /* size of dt_cpp_argv[] array */
 264  264          char *dt_ld_path;       /* pathname of ld(1) to invoke if needed */
 265  265          dt_list_t dt_lib_path;  /* linked-list forming library search path */
 266  266          uint_t dt_lazyload;     /* boolean:  set via -xlazyload */
 267  267          uint_t dt_droptags;     /* boolean:  set via -xdroptags */
 268  268          uint_t dt_active;       /* boolean:  set once tracing is active */
 269  269          uint_t dt_stopped;      /* boolean:  set once tracing is stopped */
      270 +        uint_t dt_optset;       /* boolean:  set once options have been set */
 270  271          processorid_t dt_beganon; /* CPU that executed BEGIN probe (if any) */
 271  272          processorid_t dt_endedon; /* CPU that executed END probe (if any) */
 272  273          uint_t dt_oflags;       /* dtrace open-time options (see dtrace.h) */
 273  274          uint_t dt_cflags;       /* dtrace compile-time options (see dtrace.h) */
 274  275          uint_t dt_dflags;       /* dtrace link-time options (see dtrace.h) */
 275  276          uint_t dt_prcmode;      /* dtrace process create mode (see dt_proc.h) */
 276  277          uint_t dt_linkmode;     /* dtrace symbol linking mode (see below) */
 277  278          uint_t dt_linktype;     /* dtrace link output file type (see below) */
 278  279          uint_t dt_xlatemode;    /* dtrace translator linking mode (see below) */
 279  280          uint_t dt_stdcmode;     /* dtrace stdc compatibility mode (see below) */
↓ open down ↓ 411 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX