diff options
| author | Robert Mustacchi <rm@joyent.com> | 2013-04-03 15:25:37 -0700 |
|---|---|---|
| committer | Robert Mustacchi <rm@joyent.com> | 2013-08-16 09:30:57 -0700 |
| commit | 0a47c91c895e274dd0990009919e30e984364a8b (patch) | |
| tree | 4825f16ea90a8ccaf86fd40b01fb6e03f5be970d /usr/src/common/ctf/ctf_impl.h | |
| parent | 494f7e12a62129ef191a15f9dfde6b7abe3bf510 (diff) | |
| download | illumos-joyent-0a47c91c895e274dd0990009919e30e984364a8b.tar.gz | |
3089 want ::typedef
3690 mdb on x86 should be able to print alternate register names
3688 Want mdb -e
3094 libctf should support removing a dynamic type
3095 libctf does not validate arrays correctly
3096 libctf does not validate function types correctly
3689 Want an mdb test suite driver
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/common/ctf/ctf_impl.h')
| -rw-r--r-- | usr/src/common/ctf/ctf_impl.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/src/common/ctf/ctf_impl.h b/usr/src/common/ctf/ctf_impl.h index 99990806a3..f56fa6a005 100644 --- a/usr/src/common/ctf/ctf_impl.h +++ b/usr/src/common/ctf/ctf_impl.h @@ -24,12 +24,13 @@ * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* + * Copyright (c) 2012, Joyent, Inc. All rights reserved. + */ #ifndef _CTF_IMPL_H #define _CTF_IMPL_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/errno.h> #include <sys/sysmacros.h> @@ -149,6 +150,7 @@ typedef struct ctf_dtdef { char *dtd_name; /* name associated with definition (if any) */ ctf_id_t dtd_type; /* type identifier for this definition */ ctf_type_t dtd_data; /* type node (see <sys/ctf.h>) */ + int dtd_ref; /* recfount for dyanmic types */ union { ctf_list_t dtu_members; /* struct, union, or enum */ ctf_arinfo_t dtu_arr; /* array */ @@ -269,7 +271,9 @@ enum { ECTF_DTFULL, /* CTF type is full (no more members allowed) */ ECTF_FULL, /* CTF container is full */ ECTF_DUPMEMBER, /* duplicate member name definition */ - ECTF_CONFLICT /* conflicting type definition present */ + ECTF_CONFLICT, /* conflicting type definition present */ + ECTF_REFERENCED, /* type has outstanding references */ + ECTF_NOTDYN /* type is not a dynamic type */ }; extern ssize_t ctf_get_ctt_size(const ctf_file_t *, const ctf_type_t *, |
