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/dt_parser.h
          +++ new/usr/src/lib/libdtrace/common/dt_parser.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
       25 +/*
       26 + * Copyright (c) 2013 by Delphix. All rights reserved.
       27 + * Copyright (c) 2013 Joyent, Inc. All rights reserved.
       28 + */
  25   29  
  26   30  #ifndef _DT_PARSER_H
  27   31  #define _DT_PARSER_H
  28   32  
  29      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  30      -
  31   33  #include <sys/types.h>
  32   34  #include <sys/dtrace.h>
  33   35  
  34   36  #include <libctf.h>
  35   37  #include <stdarg.h>
  36   38  #include <stdio.h>
  37   39  
  38   40  #ifdef  __cplusplus
  39   41  extern "C" {
  40   42  #endif
↓ open down ↓ 175 lines elided ↑ open up ↑
 216  218  extern dt_node_t *dt_node_cook(dt_node_t *, uint_t);
 217  219  
 218  220  extern dt_node_t *dt_node_xalloc(dtrace_hdl_t *, int);
 219  221  extern void dt_node_free(dt_node_t *);
 220  222  
 221  223  extern dtrace_attribute_t dt_node_list_cook(dt_node_t **, uint_t);
 222  224  extern void dt_node_list_free(dt_node_t **);
 223  225  extern void dt_node_link_free(dt_node_t **);
 224  226  
 225  227  extern void dt_node_attr_assign(dt_node_t *, dtrace_attribute_t);
 226      -extern void dt_node_type_assign(dt_node_t *, ctf_file_t *, ctf_id_t);
      228 +extern void dt_node_type_assign(dt_node_t *, ctf_file_t *, ctf_id_t, boolean_t);
 227  229  extern void dt_node_type_propagate(const dt_node_t *, dt_node_t *);
 228  230  extern const char *dt_node_type_name(const dt_node_t *, char *, size_t);
 229  231  extern size_t dt_node_type_size(const dt_node_t *);
 230  232  
 231  233  extern dt_ident_t *dt_node_resolve(const dt_node_t *, uint_t);
 232  234  extern size_t dt_node_sizeof(const dt_node_t *);
 233  235  extern void dt_node_promote(dt_node_t *, dt_node_t *, dt_node_t *);
 234  236  
 235  237  extern void dt_node_diftype(dtrace_hdl_t *,
 236  238      const dt_node_t *, dtrace_diftype_t *);
↓ open down ↓ 49 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX