Print this page
dccp: basic dtrace

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 ↓ 102 lines elided ↑ open up ↑
 103  103  #define DT_VERS_1_5     DT_VERSION_NUMBER(1, 5, 0)
 104  104  #define DT_VERS_1_6     DT_VERSION_NUMBER(1, 6, 0)
 105  105  #define DT_VERS_1_6_1   DT_VERSION_NUMBER(1, 6, 1)
 106  106  #define DT_VERS_1_6_2   DT_VERSION_NUMBER(1, 6, 2)
 107  107  #define DT_VERS_1_6_3   DT_VERSION_NUMBER(1, 6, 3)
 108  108  #define DT_VERS_1_7     DT_VERSION_NUMBER(1, 7, 0)
 109  109  #define DT_VERS_1_7_1   DT_VERSION_NUMBER(1, 7, 1)
 110  110  #define DT_VERS_1_8     DT_VERSION_NUMBER(1, 8, 0)
 111  111  #define DT_VERS_1_8_1   DT_VERSION_NUMBER(1, 8, 1)
 112  112  #define DT_VERS_1_9     DT_VERSION_NUMBER(1, 9, 0)
 113      -#define DT_VERS_LATEST  DT_VERS_1_9
 114      -#define DT_VERS_STRING  "Sun D 1.9"
      113 +#define DT_VERS_1_10    DT_VERSION_NUMBER(1, 10, 0)
      114 +#define DT_VERS_LATEST  DT_VERS_1_10
      115 +#define DT_VERS_STRING  "Sun D 1.10"
 115  116  
 116  117  const dt_version_t _dtrace_versions[] = {
 117  118          DT_VERS_1_0,    /* D API 1.0.0 (PSARC 2001/466) Solaris 10 FCS */
 118  119          DT_VERS_1_1,    /* D API 1.1.0 Solaris Express 6/05 */
 119  120          DT_VERS_1_2,    /* D API 1.2.0 Solaris 10 Update 1 */
 120  121          DT_VERS_1_2_1,  /* D API 1.2.1 Solaris Express 4/06 */
 121  122          DT_VERS_1_2_2,  /* D API 1.2.2 Solaris Express 6/06 */
 122  123          DT_VERS_1_3,    /* D API 1.3 Solaris Express 10/06 */
 123  124          DT_VERS_1_4,    /* D API 1.4 Solaris Express 2/07 */
 124  125          DT_VERS_1_4_1,  /* D API 1.4.1 Solaris Express 4/07 */
 125  126          DT_VERS_1_5,    /* D API 1.5 Solaris Express 7/07 */
 126  127          DT_VERS_1_6,    /* D API 1.6 */
 127  128          DT_VERS_1_6_1,  /* D API 1.6.1 */
 128  129          DT_VERS_1_6_2,  /* D API 1.6.2 */
 129  130          DT_VERS_1_6_3,  /* D API 1.6.3 */
 130  131          DT_VERS_1_7,    /* D API 1.7 */
 131  132          DT_VERS_1_7_1,  /* D API 1.7.1 */
 132  133          DT_VERS_1_8,    /* D API 1.8 */
 133  134          DT_VERS_1_8_1,  /* D API 1.8.1 */
 134  135          DT_VERS_1_9,    /* D API 1.9 */
      136 +        DT_VERS_1_10,   /* D API 1.10 */
 135  137          0
 136  138  };
 137  139  
 138  140  /*
 139  141   * Table of global identifiers.  This is used to populate the global identifier
 140  142   * hash when a new dtrace client open occurs.  For more info see dt_ident.h.
 141  143   * The global identifiers that represent functions use the dt_idops_func ops
 142  144   * and specify the private data pointer as a prototype string which is parsed
 143  145   * when the identifier is first encountered.  These prototypes look like ANSI
 144  146   * C function prototypes except that the special symbol "@" can be used as a
↓ open down ↓ 1265 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX