qcacld-3.0: Enable NBUF_MEMORY_DEBUG for SLUB builds

Network buffer debugging is being featurized as a separate feature from
regular memory debugging, and being controlled via the NBUF_MEMORY_DEBUG
build config flag. Enable NBUF_MEMORY_DEBUG for SLUB DEBUG builds to
retain the existing set of build time debug features.

Change-Id: Ib2ac2823ea5231508f4cca7d718ed266acd91274
CRs-Fixed: 2216804
这个提交包含在:
Dustin Brown
2018-04-02 10:57:18 -07:00
提交者 nshrivas
父节点 7f5bdedd7b
当前提交 63ef318a90

13
Kbuild
查看文件

@@ -2012,14 +2012,13 @@ ifeq ($(CONFIG_FEATURE_UNIT_TEST_SUSPEND), 1)
CDEFINES += -DWLAN_SUSPEND_RESUME_TEST
endif
ifeq ($(CONFIG_SLUB_DEBUG_ON),y)
CDEFINES += -DTIMER_MANAGER
CDEFINES += -DMEMORY_DEBUG
CDEFINES += -DCONFIG_HALT_KMEMLEAK
endif
ifdef CONFIG_LEAK_DETECTION
CDEFINES += -DCONFIG_LEAK_DETECTION
CDEFINES += \
-DCONFIG_HALT_KMEMLEAK \
-DCONFIG_LEAK_DETECTION \
-DMEMORY_DEBUG \
-DNBUF_MEMORY_DEBUG \
-DTIMER_MANAGER
endif
ifeq ($(HAVE_CFG80211),1)