summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/opensolaris/lib/libdtrace/common/dt_errtags.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-03-24 19:12:08 +0000
committerpfg <pfg@FreeBSD.org>2013-03-24 19:12:08 +0000
commit61cbaa2ebdd1625615b379ecfa0b9b2e369a7139 (patch)
tree5bf9991644f85ac2c140cd20a04081ed0ddcbf92 /cddl/contrib/opensolaris/lib/libdtrace/common/dt_errtags.h
parent8846db53babaff05794e7b8d4b295e7603ee09ac (diff)
parent27bdc9a206a2012fbb5f2dfc4ba6e485f4bd1ec9 (diff)
downloadFreeBSD-src-61cbaa2ebdd1625615b379ecfa0b9b2e369a7139.zip
FreeBSD-src-61cbaa2ebdd1625615b379ecfa0b9b2e369a7139.tar.gz
Dtrace: add optional size argument to tracemem().
Merge change from illumos: 1455 DTrace tracemem() should take an optional size argument Our local enhancements to dt_print_bytes were equivalent to those in illumos but we made it match the illumos version to ease further code merges. For now leave out tst.smallsize.d and tst.smallsize.d.out since those don't seem to work cleanly on FreeBSD. This change bumps the DT_VERS_* number to 1.7.1 in accordance to what is done in illumos. Illumos Revision: 13457:571b0355c2e3 Reference: https://www.illumos.org/issues/1455 Tested by: Fabian Keil Obtained from: Illumos MFC after: 1 month
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libdtrace/common/dt_errtags.h')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_errtags.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_errtags.h b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_errtags.h
index 8495f15..a71ad8b 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_errtags.h
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_errtags.h
@@ -189,6 +189,8 @@ typedef enum {
D_TRACE_DYN, /* trace() argument has dynamic type */
D_TRACEMEM_ADDR, /* tracemem() address bad type */
D_TRACEMEM_SIZE, /* tracemem() size bad type */
+ D_TRACEMEM_ARGS, /* tracemem() illegal number of args */
+ D_TRACEMEM_DYNSIZE, /* tracemem() dynamic size bad type */
D_STACK_PROTO, /* stack() prototype mismatch */
D_STACK_SIZE, /* stack() size argument bad type */
D_USTACK_FRAMES, /* ustack() frames arg bad type */
OpenPOWER on IntegriCloud