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>

@@ -23,11 +23,12 @@
  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*
- * Copyright (c) 2011, Joyent, Inc. All rights reserved.
+ * Copyright (c) 2013 by Delphix. All rights reserved.
+ * Copyright (c) 2013, Joyent, Inc. All rights reserved.
  */
 
 #ifndef _DTRACE_H
 #define _DTRACE_H
 

@@ -489,12 +490,15 @@
 
 typedef struct dtrace_typeinfo {
         const char *dtt_object;                 /* object containing type */
         ctf_file_t *dtt_ctfp;                   /* CTF container handle */
         ctf_id_t dtt_type;                      /* CTF type identifier */
+        uint_t dtt_flags;                       /* Misc. flags */
 } dtrace_typeinfo_t;
 
+#define DTT_FL_USER     0x1                     /* user type */
+
 extern int dtrace_lookup_by_type(dtrace_hdl_t *, const char *, const char *,
     dtrace_typeinfo_t *);
 
 extern int dtrace_symbol_type(dtrace_hdl_t *, const GElf_Sym *,
     const dtrace_syminfo_t *, dtrace_typeinfo_t *);