summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/ctf_api.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2013-04-03 15:25:37 -0700
committerRobert Mustacchi <rm@joyent.com>2013-08-16 09:30:57 -0700
commit0a47c91c895e274dd0990009919e30e984364a8b (patch)
tree4825f16ea90a8ccaf86fd40b01fb6e03f5be970d /usr/src/uts/common/sys/ctf_api.h
parent494f7e12a62129ef191a15f9dfde6b7abe3bf510 (diff)
downloadillumos-gate-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/uts/common/sys/ctf_api.h')
-rw-r--r--usr/src/uts/common/sys/ctf_api.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/ctf_api.h b/usr/src/uts/common/sys/ctf_api.h
index 17b0b7262e..c08acf1950 100644
--- a/usr/src/uts/common/sys/ctf_api.h
+++ b/usr/src/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>
@@ -223,6 +224,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);