diff options
author | delphij <delphij@FreeBSD.org> | 2013-08-23 23:21:24 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-08-23 23:21:24 +0000 |
commit | 5017a032d282b2ecdd81495733cc73657ff2b8fb (patch) | |
tree | ad32c6f1bbf74e601fd4395f5a07217ce6a2de60 /sys/cddl/contrib/opensolaris/uts | |
parent | 2dbc95284850f1d96e8a2e075080a1b1c17986f5 (diff) | |
download | FreeBSD-src-5017a032d282b2ecdd81495733cc73657ff2b8fb.zip FreeBSD-src-5017a032d282b2ecdd81495733cc73657ff2b8fb.tar.gz |
MFV r254422:
Illumos DTrace issues:
3089 want ::typedef
3094 libctf should support removing a dynamic type
3095 libctf does not validate arrays correctly
3096 libctf does not validate function types correctly
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h b/sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h index b810f07..def14b7 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h +++ b/sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h @@ -23,6 +23,9 @@ * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* + * Copyright (c) 2012, Joyent, Inc. All rights reserved. + */ /* * This header file defines the interfaces available from the CTF debugger @@ -40,8 +43,6 @@ #ifndef _CTF_API_H #define _CTF_API_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/param.h> #include <sys/elf.h> @@ -227,6 +228,8 @@ extern int ctf_add_member(ctf_file_t *, ctf_id_t, const char *, ctf_id_t); extern int ctf_set_array(ctf_file_t *, ctf_id_t, const ctf_arinfo_t *); +extern int ctf_delete_type(ctf_file_t *, ctf_id_t); + extern int ctf_update(ctf_file_t *); extern int ctf_discard(ctf_file_t *); extern int ctf_write(ctf_file_t *, int); |