lib/ftl: Add a map file.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: I40c27b9a9fdc93c09911adbe1f6374777d73dfaa
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1928
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Seth Howell 2020-04-18 15:11:43 -07:00 committed by Tomasz Zawadzki
parent 844e460277
commit c2cb498750
3 changed files with 20 additions and 0 deletions

View File

@ -41,6 +41,8 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = ftl_band.c ftl_core.c ftl_debug.c ftl_io.c ftl_reloc.c \ C_SRCS = ftl_band.c ftl_core.c ftl_debug.c ftl_io.c ftl_reloc.c \
ftl_restore.c ftl_init.c ftl_trace.c ftl_restore.c ftl_init.c ftl_trace.c
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_ftl.map)
LIBNAME = ftl LIBNAME = ftl
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

14
lib/ftl/spdk_ftl.map Normal file
View File

@ -0,0 +1,14 @@
{
global:
# public functions
spdk_ftl_dev_init;
spdk_ftl_dev_free;
spdk_ftl_conf_init_defaults;
spdk_ftl_dev_get_attrs;
spdk_ftl_read;
spdk_ftl_write;
spdk_ftl_flush;
local: *;
};

View File

@ -35,6 +35,10 @@ function confirm_abi_deps() {
name = SPDK_LOG_BLOBFS_BDEV_RPC name = SPDK_LOG_BLOBFS_BDEV_RPC
[suppress_variable] [suppress_variable]
name = SPDK_LOG_APP_RPC name = SPDK_LOG_APP_RPC
[suppress_variable]
name = SPDK_LOG_FTL_CORE
[suppress_variable]
name = SPDK_LOG_FTL_INIT
EOF EOF