When use of deprecated featues is encountered, SPDK now calls SPDK_LOG_DEPRECATED(). This logs the use of deprecated functionality in a consistent way, making it easy to add further instrumentation to catch code paths that trigger deprecated behavior. Change-Id: Idfd33ade171307e5e8235a7aa0d969dc5d93e33d Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15689 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot
19 lines
409 B
Makefile
19 lines
409 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (C) 2015 Intel Corporation.
|
|
# All rights reserved.
|
|
#
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
SO_VER := 5
|
|
SO_MINOR := 1
|
|
SO_SUFFIX := $(SO_VER).$(SO_MINOR)
|
|
|
|
C_SRCS = log.c log_flags.c log_deprecated.c
|
|
LIBNAME = log
|
|
|
|
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_log.map)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
|