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_error.c
          +++ new/usr/src/lib/libdtrace/common/dt_error.c
↓ open down ↓ 104 lines elided ↑ open up ↑
 105  105          { EDT_ELFVERSION, "libelf is out-of-date with respect to libdtrace" },
 106  106          { EDT_NOBUFFERED, "Attempt to buffer output without handler" },
 107  107          { EDT_UNSTABLE, "Description matched an unstable set of probes" },
 108  108          { EDT_BADSETOPT, "Invalid setopt() library action" },
 109  109          { EDT_BADSTACKPC, "Invalid stack program counter size" },
 110  110          { EDT_BADAGGVAR, "Invalid aggregation variable identifier" },
 111  111          { EDT_OVERSION, "Client requested deprecated version of library" },
 112  112          { EDT_ENABLING_ERR, "Failed to enable probe" },
 113  113          { EDT_NOPROBES, "No probe sites found for declared provider" },
 114  114          { EDT_CANTLOAD, "Failed to load module" },
      115 +        { EDT_BADCTF, "Module contains invalid or incomplete CTF information" }
 115  116  };
 116  117  
 117  118  static const int _dt_nerr = sizeof (_dt_errlist) / sizeof (_dt_errlist[0]);
 118  119  
 119  120  const char *
 120  121  dtrace_errmsg(dtrace_hdl_t *dtp, int error)
 121  122  {
 122  123          const char *str;
 123  124          int i;
 124  125  
↓ open down ↓ 99 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX