aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/tools/ctf/common
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2022-03-07 13:42:57 +0000
committerMark Johnston <markj@FreeBSD.org>2022-03-07 15:43:18 +0000
commit2d5d2a986ce1a93b8567dbdf3f80bc2b545d6998 (patch)
tree0c57e58a2d9b0963a97f59d8dedc23f08cff18bf /cddl/contrib/opensolaris/tools/ctf/common
parentc3b6408ee82b95f03acd5f789fa832d2a1500fbd (diff)
downloadsrc-2d5d2a986ce1a93b8567dbdf3f80bc2b545d6998.tar.gz
src-2d5d2a986ce1a93b8567dbdf3f80bc2b545d6998.zip
ctf: Import ctf.h from OpenBSD
Use it instead of the existing ctf.h from OpenSolaris. This makes it easier to use CTF in the core kernel, and to extend the CTF format to support wider type IDs. The imported ctf.h is modified to depend only on _types.h, and also to provide macros which use the "parent" bit of a type ID to refer to types in a parent CTF container. No functional change intended. Reviewed by: Domagoj Stolfa, emaste MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34358
Diffstat (limited to 'cddl/contrib/opensolaris/tools/ctf/common')
-rw-r--r--cddl/contrib/opensolaris/tools/ctf/common/ctf_headers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/common/ctf_headers.h b/cddl/contrib/opensolaris/tools/ctf/common/ctf_headers.h
index b00b8fd9a650..ca66b9bf5486 100644
--- a/cddl/contrib/opensolaris/tools/ctf/common/ctf_headers.h
+++ b/cddl/contrib/opensolaris/tools/ctf/common/ctf_headers.h
@@ -65,7 +65,7 @@
* an explicit path #include.
*/
-#include <uts/common/sys/ctf.h>
+#include <sys/ctf.h>
#include <uts/common/sys/ctf_api.h>
#include <lib/libctf/common/libctf.h>