Print this page
OS-1723 DTrace should speak JSON (review fixes)

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdtrace/common/dt_open.c
          +++ new/usr/src/lib/libdtrace/common/dt_open.c
↓ open down ↓ 127 lines elided ↑ open up ↑
 128  128          DT_VERS_1_6,    /* D API 1.6 */
 129  129          DT_VERS_1_6_1,  /* D API 1.6.1 */
 130  130          DT_VERS_1_6_2,  /* D API 1.6.2 */
 131  131          DT_VERS_1_6_3,  /* D API 1.6.3 */
 132  132          DT_VERS_1_7,    /* D API 1.7 */
 133  133          DT_VERS_1_7_1,  /* D API 1.7.1 */
 134  134          DT_VERS_1_8,    /* D API 1.8 */
 135  135          DT_VERS_1_8_1,  /* D API 1.8.1 */
 136  136          DT_VERS_1_9,    /* D API 1.9 */
 137  137          DT_VERS_1_10,   /* D API 1.10 */
 138      -        DT_VERS_1_11,   /* D API 1.11 -- json(), strtoll() */
      138 +        DT_VERS_1_11,   /* D API 1.11 */
 139  139          0
 140  140  };
 141  141  
 142  142  /*
 143  143   * Table of global identifiers.  This is used to populate the global identifier
 144  144   * hash when a new dtrace client open occurs.  For more info see dt_ident.h.
 145  145   * The global identifiers that represent functions use the dt_idops_func ops
 146  146   * and specify the private data pointer as a prototype string which is parsed
 147  147   * when the identifier is first encountered.  These prototypes look like ANSI
 148  148   * C function prototypes except that the special symbol "@" can be used as a
↓ open down ↓ 1271 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX