qcacld-3.0: Enable QDF lock stats feature in debug build
Enable QDF lock stats debug feature in defconfig builds to detect spin lock abuse in driver and fix it. Change-Id: I264120d1ca722bac871173f2268737a943c2f5e0 CRs-Fixed: 2311639
This commit is contained in:
8
Kbuild
8
Kbuild
@@ -2347,6 +2347,14 @@ ifdef CONFIG_SIR_SAP_MAX_NUM_PEERS
|
||||
ccflags-y += -DSIR_SAP_MAX_NUM_PEERS=$(CONFIG_SIR_SAP_MAX_NUM_PEERS)
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LOCK_STATS_ON
|
||||
ccflags-y += -DQDF_LOCK_STATS=1
|
||||
ccflags-y += -DQDF_LOCK_STATS_DESTROY_PRINT=0
|
||||
ccflags-y += -DQDF_LOCK_STATS_BUG_ON=1
|
||||
ccflags-y += -DQDF_LOCK_STATS_LIST=1
|
||||
ccflags-y += -DQDF_LOCK_STATS_LIST_SIZE=256
|
||||
endif
|
||||
|
||||
KBUILD_CPPFLAGS += $(cppflags-y)
|
||||
|
||||
# Currently, for versions of gcc which support it, the kernel Makefile
|
||||
|
Reference in New Issue
Block a user