summaryrefslogtreecommitdiff
path: root/usr/src/lib/libdtrace/common/dt_impl.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2022-10-22 18:22:05 +0000
committerRobert Mustacchi <rm@fingolfin.org>2022-11-10 04:12:39 +0000
commit6eeafb34dceabceff80ed689002b6dc3e060f498 (patch)
treefe7289898a2a9c5fb349b5cd4d5aef9cfc5ea29a /usr/src/lib/libdtrace/common/dt_impl.h
parent603778843038dfbc5672c2565d9ce3dac034609d (diff)
downloadillumos-gate-6eeafb34dceabceff80ed689002b6dc3e060f498.tar.gz
15109 dtrace replicated mdb's bitfield mistakes
15111 dtrace -xtree doesn't always escape strings Reviewed by: Adam Leventhal <adam.leventhal@gmail.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src/lib/libdtrace/common/dt_impl.h')
-rw-r--r--usr/src/lib/libdtrace/common/dt_impl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/lib/libdtrace/common/dt_impl.h b/usr/src/lib/libdtrace/common/dt_impl.h
index 6a854c5919..52e8bdcbf1 100644
--- a/usr/src/lib/libdtrace/common/dt_impl.h
+++ b/usr/src/lib/libdtrace/common/dt_impl.h
@@ -27,6 +27,7 @@
/*
* Copyright (c) 2013, Joyent, Inc. All rights reserved.
* Copyright (c) 2011, 2016 by Delphix. All rights reserved.
+ * Copyright 2022 Oxide Computer Company
*/
#ifndef _DT_IMPL_H
@@ -166,7 +167,7 @@ typedef struct dt_ahash {
} dt_ahash_t;
typedef struct dt_aggregate {
- dtrace_bufdesc_t dtat_buf; /* buf aggregation snapshot */
+ dtrace_bufdesc_t dtat_buf; /* buf aggregation snapshot */
int dtat_flags; /* aggregate flags */
processorid_t dtat_ncpus; /* number of CPUs in aggregate */
processorid_t *dtat_cpus; /* CPUs in aggregate */
@@ -652,6 +653,8 @@ extern int dt_handle_setopt(dtrace_hdl_t *, dtrace_setoptdata_t *);
extern int dt_lib_depend_add(dtrace_hdl_t *, dt_list_t *, const char *);
extern dt_lib_depend_t *dt_lib_depend_lookup(dt_list_t *, const char *);
+extern boolean_t dt_is_bitfield(const ctf_encoding_t *, ulong_t);
+
extern dt_pcb_t *yypcb; /* pointer to current parser control block */
extern char yyintprefix; /* int token prefix for macros (+/-) */
extern char yyintsuffix[4]; /* int token suffix ([uUlL]*) */