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,32 ****
* CDDL HEADER END
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
!
! #pragma ident "%Z%%M% %I% %E% SMI"
#include <dt_impl.h>
#define OP1(op, c) dt_node_op1(op, c)
#define OP2(op, l, r) dt_node_op2(op, l, r)
--- 21,34 ----
* CDDL HEADER END
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
! /*
! * 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,109 ****
--- 102,112 ----
%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,640 ****
--- 634,644 ----
| 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