mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
qcacmn: Add compilation flag for enter/exit macros
Map all enter/exit log macros to enter/exit QDF TRACE macro to provide option to compile out enter/exit logs if required Change-Id: I913ef0fb2486fde6b2ec4dfe8465884ca4d66ce4 CRs-Fixed: 2274857
This commit is contained in:
parent
4b47f374dc
commit
87668f872b
5 changed files with 29 additions and 15 deletions
|
|
@ -43,9 +43,10 @@
|
|||
QDF_TRACE_INFO(QDF_MODULE_ID_TARGET_IF, params)
|
||||
#define target_if_debug(params...) \
|
||||
QDF_TRACE_DEBUG(QDF_MODULE_ID_TARGET_IF, params)
|
||||
|
||||
#define TARGET_IF_ENTER() target_if_debug("enter")
|
||||
#define TARGET_IF_EXIT() target_if_debug("exit")
|
||||
#define TARGET_IF_ENTER() \
|
||||
QDF_TRACE_ENTER(QDF_MODULE_ID_TARGET_IF, "enter")
|
||||
#define TARGET_IF_EXIT() \
|
||||
QDF_TRACE_EXIT(QDF_MODULE_ID_TARGET_IF, "exit")
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
#define TARGET_TYPE_AR900B 9 /* Beeliner */
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@
|
|||
#define direct_buf_rx_debug(params...) \
|
||||
QDF_TRACE_DEBUG(QDF_MODULE_ID_DIRECT_BUF_RX, params)
|
||||
#define direct_buf_rx_enter() \
|
||||
direct_buf_rx_debug("enter")
|
||||
QDF_TRACE_ENTER(QDF_MODULE_ID_DIRECT_BUF_RX, "enter")
|
||||
#define direct_buf_rx_exit() \
|
||||
direct_buf_rx_debug("exit")
|
||||
QDF_TRACE_EXIT(QDF_MODULE_ID_DIRECT_BUF_RX, "exit")
|
||||
|
||||
#define DBR_MAX_CHAINS (8)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue