qcacld-3.0: Enable excessive logging detection

Excessive logging detection was recently added via
If83c6dfccb9d191b02a3a7166b065c0a0704f969. While we would like to enable
this feature with a maximum number of logs per second of 100, there are
still a few outstanding problem areas, like dumping stats via IOCTL.
Instead enable the feature with a max of 500 to catch egregious
regressions, and plan to decrease this to 100 or less once the problem
areas are addressed.

Change-Id: I5b880c2354ec4828e1773eeb43de43a4649d4803
CRs-Fixed: 2340011
This commit is contained in:
Dustin Brown
2018-10-22 13:56:01 -07:00
committed by nshrivas
parent 5c6db8de0b
commit 93abc2cb79
2 changed files with 5 additions and 0 deletions

4
Kbuild
View File

@@ -2408,6 +2408,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_MAX_LOGS_PER_SEC
ccflags-y += -DWLAN_MAX_LOGS_PER_SEC=$(CONFIG_MAX_LOGS_PER_SEC)
endif
ifdef CONFIG_SCHED_HISTORY_SIZE
ccflags-y += -DWLAN_SCHED_HISTORY_SIZE=$(CONFIG_SCHED_HISTORY_SIZE)
endif

View File

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