Print this page
4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation missing checks
Reviewed by: Bryan Cantrill <bryan@joyent.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 ↓ 102 lines elided ↑ open up ↑
 103  103          { EDT_BRICKED, "Abort due to systemic unresponsiveness" },
 104  104          { EDT_HARDWIRE, "Failed to load language definitions" },
 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      -        { EDT_NOPROBES, "No probe sites found for declared provider" }
      113 +        { EDT_NOPROBES, "No probe sites found for declared provider" },
      114 +        { EDT_CANTLOAD, "Failed to load module" },
 114  115  };
 115  116  
 116  117  static const int _dt_nerr = sizeof (_dt_errlist) / sizeof (_dt_errlist[0]);
 117  118  
 118  119  const char *
 119  120  dtrace_errmsg(dtrace_hdl_t *dtp, int error)
 120  121  {
 121  122          const char *str;
 122  123          int i;
 123  124  
↓ open down ↓ 99 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX