From 003e4fbe233d0d227056c2e7c815bd2c0d695b0a Mon Sep 17 00:00:00 2001 From: Lin Bai Date: Tue, 16 Apr 2019 18:53:42 +0800 Subject: [PATCH] qcacld-3.0: Disable dsc_debug log in perf-build dsc_debug() is impacting IPA tput, as introduced by Ib8e1fc1e16785dfe3c5f8273e4ad8d5d6ecdb6e6. Disable debug level DSC log in perf-build. Change-Id: I2a18e44879b9301067844cfc6e56f57bb5588c74 CRs-Fixed: 2435880 --- components/dsc/src/__wlan_dsc.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/dsc/src/__wlan_dsc.h b/components/dsc/src/__wlan_dsc.h index 5faa965492cf..c6539a14715d 100644 --- a/components/dsc/src/__wlan_dsc.h +++ b/components/dsc/src/__wlan_dsc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -33,7 +33,11 @@ #define dsc_err(params...) QDF_TRACE_ERROR(QDF_MODULE_ID_QDF, params) #define dsc_info(params...) QDF_TRACE_INFO(QDF_MODULE_ID_QDF, params) +#ifdef WLAN_DSC_DEBUG #define dsc_debug(params...) QDF_TRACE_DEBUG(QDF_MODULE_ID_QDF, params) +#else +#define dsc_debug(params...) /* no-op */ +#endif #define dsc_enter_exit dsc_debug #define dsc_enter() dsc_enter_exit("enter")