summaryrefslogtreecommitdiff
path: root/usr/src/lib/libctf/common/libctf_impl.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2019-03-12 17:46:42 +0000
committerJohn Levon <john.levon@joyent.com>2019-05-03 02:15:57 -0700
commit37e82d12edcc0e950e771c6cda32e45f1ecd7f8d (patch)
treecd4ec136222b181615a5cf64e75b4014ecf5236c /usr/src/lib/libctf/common/libctf_impl.h
parent0193495632be916873f94049cb3da876f1b1ae01 (diff)
downloadillumos-gate-37e82d12edcc0e950e771c6cda32e45f1ecd7f8d.tar.gz
10812 ctf tools shouldn't add blank labels
10813 ctf symbol mapping needs work Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/lib/libctf/common/libctf_impl.h')
-rw-r--r--usr/src/lib/libctf/common/libctf_impl.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/src/lib/libctf/common/libctf_impl.h b/usr/src/lib/libctf/common/libctf_impl.h
index 11193e97d0..be091ef199 100644
--- a/usr/src/lib/libctf/common/libctf_impl.h
+++ b/usr/src/lib/libctf/common/libctf_impl.h
@@ -10,7 +10,7 @@
*/
/*
- * Copyright 2015 Joyent, Inc.
+ * Copyright 2019 Joyent, Inc.
*/
#ifndef _LIBCTF_IMPL_H
@@ -41,6 +41,13 @@ extern ctf_conv_status_t ctf_dwarf_convert(int, Elf *, uint_t, int *,
ctf_file_t **, char *, size_t);
/*
+ * Symbol walking
+ */
+typedef int (*ctf_symtab_f)(const Elf64_Sym *, ulong_t, const char *,
+ const char *, boolean_t, void *);
+extern int ctf_symtab_iter(ctf_file_t *, ctf_symtab_f, void *);
+
+/*
* zlib compression routines
*/
extern int ctf_compress(ctf_file_t *fp, void **, size_t *, size_t *);
@@ -50,7 +57,8 @@ extern int ctf_diff_self(ctf_diff_t *, ctf_diff_type_f, void *);
/*
* Internal debugging aids
*/
-extern void ctf_phase_dump(ctf_file_t *, const char *);
+extern void ctf_phase_dump(ctf_file_t *, const char *, const char *);
+extern void ctf_phase_bump(void);
#ifdef __cplusplus
}