From nobody Wed Nov 17 18:51:20 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3BA311895212; Wed, 17 Nov 2021 18:51:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HvX891HMzz3nHQ; Wed, 17 Nov 2021 18:51:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0C45B262AD; Wed, 17 Nov 2021 18:51:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AHIpKMs038211; Wed, 17 Nov 2021 18:51:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AHIpK7X038210; Wed, 17 Nov 2021 18:51:20 GMT (envelope-from git) Date: Wed, 17 Nov 2021 18:51:20 GMT Message-Id: <202111171851.1AHIpK7X038210@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 8a693ccf86f9 - main - Export symbols from opensolaris.ko and dtrace.ko List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8a693ccf86f90469910c5b2425ddb8a75e298487 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=8a693ccf86f90469910c5b2425ddb8a75e298487 commit 8a693ccf86f90469910c5b2425ddb8a75e298487 Author: Mark Johnston AuthorDate: 2021-11-17 16:01:59 +0000 Commit: Mark Johnston CommitDate: 2021-11-17 18:51:10 +0000 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 --- sys/modules/dtrace/dtrace/Makefile | 4 +--- sys/modules/opensolaris/Makefile | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/modules/dtrace/dtrace/Makefile b/sys/modules/dtrace/dtrace/Makefile index 55f9f4f66f36..712e10331a38 100644 --- a/sys/modules/dtrace/dtrace/Makefile +++ b/sys/modules/dtrace/dtrace/Makefile @@ -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 diff --git a/sys/modules/opensolaris/Makefile b/sys/modules/opensolaris/Makefile index 536b9637cd3c..7010485b0ee7 100644 --- a/sys/modules/opensolaris/Makefile +++ b/sys/modules/opensolaris/Makefile @@ -27,7 +27,7 @@ SRCS+= opensolaris_atomic.c CFLAGS+= ${OPENZFS_CFLAGS} -EXPORT_SYMS= cpu_core +EXPORT_SYMS= YES IGNORE_PRAGMA= 1