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/dtrace.h
          +++ new/usr/src/lib/libdtrace/common/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 2007 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27   27  /*
  28      - * Copyright (c) 2011, Joyent, Inc. All rights reserved.
       28 + * Copyright (c) 2013 by Delphix. All rights reserved.
       29 + * Copyright (c) 2013, Joyent, Inc. All rights reserved.
  29   30   */
  30   31  
  31   32  #ifndef _DTRACE_H
  32   33  #define _DTRACE_H
  33   34  
  34   35  #include <sys/dtrace.h>
  35   36  #include <stdarg.h>
  36   37  #include <stdio.h>
  37   38  #include <gelf.h>
  38   39  
↓ open down ↓ 445 lines elided ↑ open up ↑
 484  485  extern int dtrace_lookup_by_name(dtrace_hdl_t *, const char *, const char *,
 485  486      GElf_Sym *, dtrace_syminfo_t *);
 486  487  
 487  488  extern int dtrace_lookup_by_addr(dtrace_hdl_t *, GElf_Addr addr,
 488  489      GElf_Sym *, dtrace_syminfo_t *);
 489  490  
 490  491  typedef struct dtrace_typeinfo {
 491  492          const char *dtt_object;                 /* object containing type */
 492  493          ctf_file_t *dtt_ctfp;                   /* CTF container handle */
 493  494          ctf_id_t dtt_type;                      /* CTF type identifier */
      495 +        uint_t dtt_flags;                       /* Misc. flags */
 494  496  } dtrace_typeinfo_t;
 495  497  
      498 +#define DTT_FL_USER     0x1                     /* user type */
      499 +
 496  500  extern int dtrace_lookup_by_type(dtrace_hdl_t *, const char *, const char *,
 497  501      dtrace_typeinfo_t *);
 498  502  
 499  503  extern int dtrace_symbol_type(dtrace_hdl_t *, const GElf_Sym *,
 500  504      const dtrace_syminfo_t *, dtrace_typeinfo_t *);
 501  505  
 502  506  extern int dtrace_type_strcompile(dtrace_hdl_t *,
 503  507      const char *, dtrace_typeinfo_t *);
 504  508  
 505  509  extern int dtrace_type_fcompile(dtrace_hdl_t *,
↓ open down ↓ 81 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX