qcacld-3.0: Migrate PMO to level-specific log wrappers
Change Ie062ada403f8a31aebcde691396987ad9e5352b5 introduced level- specific logging wrappers to support compiling out entire levels of logging messages. Migrate the PMO logging wrappers to consumer these new APIs instead of QDF_TRACE. Change-Id: I3f46450e76cc6422a0877e95785bfd41e4c0af0c CRs-Fixed: 2208536
Цей коміт міститься в:

зафіксовано
Nitesh Shrivastav

джерело
f908cd0cad
коміт
89ccc3958c
@@ -28,19 +28,11 @@
|
||||
#include "wlan_pmo_priv.h"
|
||||
#include "wlan_pmo_objmgr.h"
|
||||
|
||||
#define pmo_log(level, args...) QDF_TRACE(QDF_MODULE_ID_PMO, level, ## args)
|
||||
#define pmo_logfl(level, format, args...) pmo_log(level, FL(format), ## args)
|
||||
|
||||
#define pmo_fatal(format, args...) \
|
||||
pmo_logfl(QDF_TRACE_LEVEL_FATAL, format, ## args)
|
||||
#define pmo_err(format, args...) \
|
||||
pmo_logfl(QDF_TRACE_LEVEL_ERROR, format, ## args)
|
||||
#define pmo_warn(format, args...) \
|
||||
pmo_logfl(QDF_TRACE_LEVEL_WARN, format, ## args)
|
||||
#define pmo_info(format, args...) \
|
||||
pmo_logfl(QDF_TRACE_LEVEL_INFO, format, ## args)
|
||||
#define pmo_debug(format, args...) \
|
||||
pmo_logfl(QDF_TRACE_LEVEL_DEBUG, format, ## args)
|
||||
#define pmo_fatal(params...) QDF_TRACE_FATAL(QDF_MODULE_ID_PMO, params)
|
||||
#define pmo_err(params...) QDF_TRACE_ERROR(QDF_MODULE_ID_PMO, params)
|
||||
#define pmo_warn(params...) QDF_TRACE_WARN(QDF_MODULE_ID_PMO, params)
|
||||
#define pmo_info(params...) QDF_TRACE_INFO(QDF_MODULE_ID_PMO, params)
|
||||
#define pmo_debug(params...) QDF_TRACE_DEBUG(QDF_MODULE_ID_PMO, params)
|
||||
|
||||
#define pmo_enter() pmo_debug("enter")
|
||||
#define pmo_exit() pmo_debug("exit")
|
||||
|
Посилання в новій задачі
Заблокувати користувача