lib/reduce: add a map file.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: I3545b884717966cb53999a04435a010e43f9cc45
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2293
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Seth Howell 2020-05-09 16:11:14 -07:00 committed by Jim Harris
parent 6dec2087e9
commit 9654226cad
3 changed files with 20 additions and 0 deletions

View File

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

View File

@ -0,0 +1,16 @@
{
global:
# public functions
spdk_reduce_vol_get_uuid;
spdk_reduce_vol_init;
spdk_reduce_vol_load;
spdk_reduce_vol_unload;
spdk_reduce_vol_destroy;
spdk_reduce_vol_readv;
spdk_reduce_vol_writev;
spdk_reduce_vol_get_params;
spdk_reduce_vol_print_info;
local: *;
};

View File

@ -108,6 +108,8 @@ function confirm_abi_deps() {
name = spdk_opal_method
[suppress_variable]
name = spdk_opal_uid
[suppress_variable]
name = SPDK_LOG_REDUCE
EOF
for object in "$libdir"/libspdk_*.so; do