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_printf.c
          +++ new/usr/src/lib/libdtrace/common/dt_printf.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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  /*
  23   23   * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  24      - * Copyright (c) 2011, Joyent, Inc. All rights reserved.
  25      - * Copyright (c) 2012 by Delphix. All rights reserved.
       24 + * Copyright (c) 2013, Joyent, Inc. All rights reserved.
       25 + * Copyright (c) 2013 by Delphix. All rights reserved.
  26   26   */
  27   27  
  28   28  #include <sys/sysmacros.h>
  29   29  #include <strings.h>
  30   30  #include <stdlib.h>
  31   31  #include <alloca.h>
  32   32  #include <assert.h>
  33   33  #include <ctype.h>
  34   34  #include <errno.h>
  35   35  #include <limits.h>
↓ open down ↓ 1005 lines elided ↑ open up ↑
1041 1041           */
1042 1042          if (kind != DTRACEAGG_COUNT)
1043 1043                  aggtype = "int64_t";
1044 1044          else
1045 1045                  aggtype = "uint64_t";
1046 1046  
1047 1047          if (dt_type_lookup(aggtype, &dtt) != 0)
1048 1048                  xyerror(D_TYPE_ERR, "failed to lookup agg type %s\n", aggtype);
1049 1049  
1050 1050          bzero(&aggnode, sizeof (aggnode));
1051      -        dt_node_type_assign(&aggnode, dtt.dtt_ctfp, dtt.dtt_type);
     1051 +        dt_node_type_assign(&aggnode, dtt.dtt_ctfp, dtt.dtt_type, B_FALSE);
1052 1052  
1053 1053          for (i = 0, j = 0; i < pfv->pfv_argc; i++, pfd = pfd->pfd_next) {
1054 1054                  const dt_pfconv_t *pfc = pfd->pfd_conv;
1055 1055                  const char *dyns[2];
1056 1056                  int dync = 0;
1057 1057  
1058 1058                  char vname[64];
1059 1059                  dt_node_t *vnp;
1060 1060  
1061 1061                  if (pfc == NULL)
↓ open down ↓ 904 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX