Bläddra i källkod

qcacld-3.0: Enable HIF_LATENCY_PROFILE_ENABLE in debug mode

Enable NAPI schedule latency histogram stats in debug mode
which helps to debug the NAPI shcedule delay issues.

Change-Id: Idc58a5c2eab6fcb9ac55ab04cf083982d0aed003
CRs-Fixed: 3318049
Venkateswara Naralasetty 2 år sedan
förälder
incheckning
1b32411a89
2 ändrade filer med 2 tillägg och 0 borttagningar
  1. 1 0
      Kbuild
  2. 1 0
      configs/default_defconfig

+ 1 - 0
Kbuild

@@ -3319,6 +3319,7 @@ endif
 cppflags-$(CONFIG_PLD_PCIE_INIT_FLAG) += -DCONFIG_PLD_PCIE_INIT
 cppflags-$(CONFIG_WLAN_FEATURE_DP_RX_THREADS) += -DFEATURE_WLAN_DP_RX_THREADS
 cppflags-$(CONFIG_WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT) += -DWLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT
+cppflags-$(CONFIG_FEATURE_HIF_LATENCY_PROFILE_ENABLE) += -DHIF_LATENCY_PROFILE_ENABLE
 cppflags-$(CONFIG_FEATURE_HAL_DELAYED_REG_WRITE) += -DFEATURE_HAL_DELAYED_REG_WRITE
 cppflags-$(CONFIG_FEATURE_HAL_RECORD_SUSPEND_WRITE) += -DFEATURE_HAL_RECORD_SUSPEND_WRITE
 cppflags-$(CONFIG_QCA_OL_DP_SRNG_LOCK_LESS_ACCESS) += -DQCA_OL_DP_SRNG_LOCK_LESS_ACCESS

+ 1 - 0
configs/default_defconfig

@@ -1344,6 +1344,7 @@ ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
 		CONFIG_DP_TX_HW_DESC_HISTORY := y
 		CONFIG_QDF_NBUF_HISTORY_SIZE := 8192
 		CONFIG_DP_RX_REFILL_CPU_PERF_AFFINE_MASK := y
+		CONFIG_FEATURE_HIF_LATENCY_PROFILE_ENABLE := y
 	endif
 	CONFIG_DP_HW_TX_DELAY_STATS_ENABLE := y
 	CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY := y