lib/ioat: add a map file.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: If7c9db16ab0408280a5ef789556f751f1e0cc8c7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2210
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Seth Howell 2020-05-06 13:12:56 -07:00 committed by Tomasz Zawadzki
parent f6dcd815f4
commit 12a3278a2e
3 changed files with 20 additions and 0 deletions

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = ioat.c
LIBNAME = ioat
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_ioat.map)
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

16
lib/ioat/spdk_ioat.map Normal file
View File

@ -0,0 +1,16 @@
{
global:
# public functions
spdk_ioat_probe;
spdk_ioat_detach;
spdk_ioat_build_copy;
spdk_ioat_submit_copy;
spdk_ioat_build_fill;
spdk_ioat_submit_fill;
spdk_ioat_flush;
spdk_ioat_process_events;
spdk_ioat_get_dma_capabilities;
local: *;
};

View File

@ -36,6 +36,8 @@ function confirm_abi_deps() {
cat << EOF > ${suppression_file}
[suppress_variable]
name = SPDK_LOG_IDXD
[suppress_variable]
name = SPDK_LOG_IOAT
EOF
for object in "$libdir"/libspdk_*.so; do