Print this page
1730 DTrace should ignore type information from modules with cth_parlabel mismatches
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>

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 ↓ 522 lines elided ↑ open up ↑
 523  523          EDT_HARDWIRE,           /* failed to load hard-wired definitions */
 524  524          EDT_ELFVERSION,         /* libelf is out-of-date w.r.t libdtrace */
 525  525          EDT_NOBUFFERED,         /* attempt to buffer output without handler */
 526  526          EDT_UNSTABLE,           /* description matched unstable set of probes */
 527  527          EDT_BADSETOPT,          /* invalid setopt library action */
 528  528          EDT_BADSTACKPC,         /* invalid stack program counter size */
 529  529          EDT_BADAGGVAR,          /* invalid aggregation variable identifier */
 530  530          EDT_OVERSION,           /* client is requesting deprecated version */
 531  531          EDT_ENABLING_ERR,       /* failed to enable probe */
 532  532          EDT_NOPROBES,           /* no probes sites for declared provider */
 533      -        EDT_CANTLOAD            /* failed to load a module */
      533 +        EDT_CANTLOAD,           /* failed to load a module */
      534 +        EDT_BADCTF              /* module contains invalid CTF */
 534  535  };
 535  536  
 536  537  /*
 537  538   * Interfaces for parsing and comparing DTrace attribute tuples, which describe
 538  539   * stability and architectural binding information.  The dtrace_attribute_t
 539  540   * structure and associated constant definitions are found in <sys/dtrace.h>.
 540  541   */
 541  542  extern dtrace_attribute_t dt_attr_min(dtrace_attribute_t, dtrace_attribute_t);
 542  543  extern dtrace_attribute_t dt_attr_max(dtrace_attribute_t, dtrace_attribute_t);
 543  544  extern char *dt_attr_str(dtrace_attribute_t, char *, size_t);
↓ open down ↓ 146 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX