Export symbols from opensolaris.ko and dtrace.ko

Both modules provide many symbols used by various DTrace provider
modules, so just export everything.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2021-11-17 11:01:59 -05:00
parent 8406182dbe
commit 8a693ccf86
2 changed files with 2 additions and 4 deletions

View File

@ -49,9 +49,7 @@ CFLAGS+= -I${SYSDIR}/cddl/compat/opensolaris \
-I${SYSDIR}/cddl/contrib/opensolaris/common/util \
-I${SYSDIR} -DDIS_MEM
EXPORT_SYMS= dtrace_register \
dtrace_unregister \
dtrace_probe_lookup
EXPORT_SYMS= YES
dtrace_asm.o: assym.inc

View File

@ -27,7 +27,7 @@ SRCS+= opensolaris_atomic.c
CFLAGS+= ${OPENZFS_CFLAGS}
EXPORT_SYMS= cpu_core
EXPORT_SYMS= YES
IGNORE_PRAGMA= 1