Enable SPINLOCK and MUTEXES debug config

Enable SPINLOCK and MUTEXES debug config
in userdebug build to debug deadlock issue.
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y

Change-Id: I2dee3eb1997b54ae18cba0c41fd8db32e68f3e3d
Signed-off-by: duxu1 <duxu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2298955
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hongshu Lou <louhs1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Zhizhong Ge <gezz1@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
duxu1 2022-06-13 17:33:54 +08:00 • committed by Xiaojun Ji
commit 308c0bf516

View file

@ -54,8 +54,8 @@ CONFIG_CORESIGHT_TGU=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_DEBUG_LOCKDEP is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set