Bläddra i källkod

qcacld-3.0: Enable compile time flag WLAN_OBJMGR_REF_ID_DEBUG

Ref id debug support adds an array of atomic_t to peer object
which significantly increases peer object size. Move this debug
support under the compile time flag WLAN_OBJMGR_REF_ID_DEBUG to
save memory.

Enable the compile time flag WLAN_OBJMGR_REF_ID_DEBUG for mcl.

Change-Id: Ie618bd049270d23def6ca37542f1e2948b6d32b5
CRs-Fixed: 2297976
Pragaspathi Thilagaraj 6 år sedan
förälder
incheckning
ab5cc6ec92
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      Kbuild

+ 1 - 0
Kbuild

@@ -1866,6 +1866,7 @@ cppflags-$(CONFIG_WLAN_POWER_DEBUGFS) += -DWLAN_POWER_DEBUGFS
 
 # Enable object manager reference count debug infrastructure
 cppflags-$(CONFIG_WLAN_OBJMGR_DEBUG) += -DWLAN_OBJMGR_DEBUG
+cppflags-$(CONFIG_WLAN_OBJMGR_DEBUG) += -DWLAN_OBJMGR_REF_ID_DEBUG
 
 cppflags-$(CONFIG_WLAN_FEATURE_SAE) += -DWLAN_FEATURE_SAE