From 918c7e4c0746f4a6772ef5d084c9e73a045c41f4 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Wed, 2 Sep 2020 11:41:12 +0530 Subject: [PATCH] qcacld-3.0: Add feature flag for line number logging Currently line number is not useful in the logs and to print the line number consumes lot of memory in driver text area size. To reduce the driver size add feature flag to enable/disable line number logging in the driver. Change-Id: Ie11e3425cb61edad09c0da0337d0daa18e2a56d6 CRs-Fixed: 2766244 --- Kbuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Kbuild b/Kbuild index 3e3125575760..aae0210da710 100644 --- a/Kbuild +++ b/Kbuild @@ -3305,6 +3305,9 @@ cppflags-$(CONFIG_DYNAMIC_DEBUG) += -DFEATURE_MULTICAST_HOST_FW_MSGS cppflags-$(CONFIG_ENABLE_SMMU_S1_TRANSLATION) += -DENABLE_SMMU_S1_TRANSLATION +#Flag to enable/disable Line number logging +cppflags-$(CONFIG_LOG_LINE_NUMBER) += -DLOG_LINE_NUMBER + #Flag to enable/disable MTRACE feature cppflags-$(CONFIG_ENABLE_MTRACE_LOG) += -DENABLE_MTRACE_LOG