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
committerRobert Mustacchi <rm@joyent.com>2019-03-20 18:52:55 +0000
commitcab8f574b2799281fddf00931d5f96a163272c9a (patch)
treeb7405ee9ef321c6d3c21ed7246c0e31e5a8f99aa /usr/src/lib/libctf/common/libctf_impl.h
parentade6c39b187fff41cf5c7f6bc2b5761c8ee9418a (diff)
downloadillumos-joyent-cab8f574b2799281fddf00931d5f96a163272c9a.tar.gz
OS-7645 ctf symbol mapping needs work
OS-7653 ctf tools shouldn't add blank labels Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: John Levon <john.levon@joyent.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
}