summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/ctf_api.h
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-09-28 17:18:54 +0000
committerJohn Levon <john.levon@joyent.com>2018-10-12 13:39:07 +0000
commit442caaa4b1a9f5a199a4b98f5c94c928e42890db (patch)
treefa5ff4de1ca4b6ffa965e697dccd19e615429e09 /usr/src/uts/common/sys/ctf_api.h
parent34eab8ac1fa711a576ce314166c9490408ad36be (diff)
downloadillumos-joyent-442caaa4b1a9f5a199a4b98f5c94c928e42890db.tar.gz
OS-7270 ctfconvert doesn't handle DW_AT_specification
OS-7275 ctfdump could generate C-style output OS-7279 DWARF->CTF enum conversion needs to be careful of sign Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Jerry Jelinek <jerry.jelinek@joyent.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, 6 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/ctf_api.h b/usr/src/uts/common/sys/ctf_api.h
index bc99f67d3f..073cc4f0d6 100644
--- a/usr/src/uts/common/sys/ctf_api.h
+++ b/usr/src/uts/common/sys/ctf_api.h
@@ -24,7 +24,7 @@
* Use is subject to license terms.
*/
/*
- * Copyright (c) 2015, Joyent, Inc.
+ * Copyright 2018 Joyent, Inc.
*/
/*
@@ -233,6 +233,9 @@ extern uint_t ctf_flags(ctf_file_t *);
extern const char *ctf_errmsg(int);
extern int ctf_version(int);
+extern ctf_id_t ctf_max_id(ctf_file_t *);
+extern ulong_t ctf_nr_syms(ctf_file_t *);
+
extern int ctf_func_info(ctf_file_t *, ulong_t, ctf_funcinfo_t *);
extern int ctf_func_info_by_id(ctf_file_t *, ctf_id_t, ctf_funcinfo_t *);
extern int ctf_func_args(ctf_file_t *, ulong_t, uint_t, ctf_id_t *);
@@ -248,6 +251,8 @@ extern ssize_t ctf_type_lname(ctf_file_t *, ctf_id_t, char *, size_t);
extern char *ctf_type_name(ctf_file_t *, ctf_id_t, char *, size_t);
extern char *ctf_type_qname(ctf_file_t *, ctf_id_t, char *, size_t,
const char *);
+extern char *ctf_type_cname(ctf_file_t *, ctf_id_t, char *, size_t,
+ const char *);
extern ssize_t ctf_type_size(ctf_file_t *, ctf_id_t);
extern ssize_t ctf_type_align(ctf_file_t *, ctf_id_t);
extern int ctf_type_kind(ctf_file_t *, ctf_id_t);