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>

@@ -21,12 +21,14 @@
  * CDDL HEADER END
  *
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
-
-#pragma ident   "%Z%%M% %I%     %E% SMI"
+/*
+ * Copyright (c) 2013 by Delphix. All rights reserved.
+ * Copyright (c) 2013, Joyent, Inc. All rights reserved.
+ */
 
 #include <dt_impl.h>
 
 #define OP1(op, c)      dt_node_op1(op, c)
 #define OP2(op, l, r)   dt_node_op2(op, l, r)

@@ -100,10 +102,11 @@
 %token  DT_KEY_SWITCH
 %token  DT_KEY_THIS
 %token  DT_KEY_TYPEDEF
 %token  DT_KEY_UNION
 %token  DT_KEY_UNSIGNED
+%token  DT_KEY_USERLAND
 %token  DT_KEY_VOID
 %token  DT_KEY_VOLATILE
 %token  DT_KEY_WHILE
 %token  DT_KEY_XLATOR
 

@@ -631,10 +634,11 @@
         |       DT_KEY_LONG { $$ = dt_decl_attr(DT_DA_LONG); }
         |       DT_KEY_FLOAT { $$ = dt_decl_spec(CTF_K_FLOAT, DUP("float")); }
         |       DT_KEY_DOUBLE { $$ = dt_decl_spec(CTF_K_FLOAT, DUP("double")); }
         |       DT_KEY_SIGNED { $$ = dt_decl_attr(DT_DA_SIGNED); }
         |       DT_KEY_UNSIGNED { $$ = dt_decl_attr(DT_DA_UNSIGNED); }
+        |       DT_KEY_USERLAND { $$ = dt_decl_attr(DT_DA_USER); }
         |       DT_KEY_STRING {
                         $$ = dt_decl_spec(CTF_K_TYPEDEF, DUP("string"));
                 }
         |       DT_TOK_TNAME { $$ = dt_decl_spec(CTF_K_TYPEDEF, $1); }
         |       struct_or_union_specifier