瀏覽代碼

qcacld-3.0: Enable scheduler history for SLUB builds

Enable the scheduler history when compiling SLUB debug builds.

Change-Id: If06f9076bcb01fe5dbb3fd4d031fc87b7e883425
CRs-Fixed: 2307251
Dustin Brown 6 年之前
父節點
當前提交
099048b780
共有 2 個文件被更改,包括 5 次插入0 次删除
  1. 4 0
      Kbuild
  2. 1 0
      configs/default_defconfig

+ 4 - 0
Kbuild

@@ -2272,6 +2272,10 @@ cppflags-$(CONFIG_DISABLE_CHANNEL_LIST) += -DDISABLE_CHANNEL_LIST
 #Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode)
 cppflags-$(CONFIG_WLAN_DYNAMIC_CVM) += -DFEATURE_WLAN_DYNAMIC_CVM
 
+ifdef CONFIG_SCHED_HISTORY_SIZE
+ccflags-y += -DWLAN_SCHED_HISTORY_SIZE=$(CONFIG_SCHED_HISTORY_SIZE)
+endif
+
 # configure log buffer size
 ifdef CONFIG_CFG_NUM_DP_TRACE_RECORD
 ccflags-y += -DMAX_QDF_DP_TRACE_RECORDS=$(CONFIG_CFG_NUM_DP_TRACE_RECORD)

+ 1 - 0
configs/default_defconfig

@@ -618,6 +618,7 @@ ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
 	CONFIG_DSC_DEBUG := y
 	CONFIG_FEATURE_UNIT_TEST_SUSPEND := y
 	CONFIG_LEAK_DETECTION := y
+	CONFIG_SCHED_HISTORY_SIZE := 256
 	CONFIG_UNIT_TEST := y
 endif