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/uts/common/sys/dtrace.h
          +++ new/usr/src/uts/common/sys/dtrace.h
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27   27  /*
  28      - * Copyright (c) 2012, Joyent, Inc. All rights reserved.
  29      - * Copyright (c) 2012 by Delphix. All rights reserved.
       28 + * Copyright (c) 2013, Joyent, Inc. All rights reserved.
       29 + * Copyright (c) 2013 by Delphix. All rights reserved.
  30   30   */
  31   31  
  32   32  #ifndef _SYS_DTRACE_H
  33   33  #define _SYS_DTRACE_H
  34   34  
  35   35  #ifdef  __cplusplus
  36   36  extern "C" {
  37   37  #endif
  38   38  
  39   39  /*
↓ open down ↓ 307 lines elided ↑ open up ↑
 347  347          uint8_t dtdt_ckind;             /* type kind in CTF */
 348  348          uint8_t dtdt_flags;             /* type flags (see below) */
 349  349          uint8_t dtdt_pad;               /* reserved for future use */
 350  350          uint32_t dtdt_size;             /* type size in bytes (unless string) */
 351  351  } dtrace_diftype_t;
 352  352  
 353  353  #define DIF_TYPE_CTF            0       /* type is a CTF type */
 354  354  #define DIF_TYPE_STRING         1       /* type is a D string */
 355  355  
 356  356  #define DIF_TF_BYREF            0x1     /* type is passed by reference */
      357 +#define DIF_TF_BYUREF           0x2     /* user type is passed by reference */
 357  358  
 358  359  /*
 359  360   * A DTrace Intermediate Format variable record is used to describe each of the
 360  361   * variables referenced by a given DIF object.  It contains an integer variable
 361  362   * identifier along with variable scope and properties, as shown below.  The
 362  363   * size of this structure must be sizeof (int) aligned.
 363  364   */
 364  365  typedef struct dtrace_difv {
 365  366          uint32_t dtdv_name;             /* variable name index in dtdo_strtab */
 366  367          uint32_t dtdv_id;               /* variable reference identifier */
↓ open down ↓ 1974 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX