qcacld-3.0: Map all module logs to per-level log APIs
Map all module level log APIs to per-level log APIs to compile out specific log level if required. Change-Id: Icfcc28fb592ee99704d8fb23bc3cb45b6e4c9f53 CRs-Fixed: 2266718
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2018 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
|
||||
@@ -69,11 +69,9 @@
|
||||
#define A_MEMCMP(addr1, addr2, len) memcmp((addr1), (addr2), (len))
|
||||
|
||||
#define A_LOGGER(mask, mod, args ...) \
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, ## args)
|
||||
QDF_TRACE_ERROR(QDF_MODULE_ID_QDF, args)
|
||||
#define A_PRINTF(args ...) \
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, ## args)
|
||||
#define A_PRINTF_LOG(args ...) \
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, ## args)
|
||||
QDF_TRACE_ERROR(QDF_MODULE_ID_QDF, args)
|
||||
#define A_SNPRINTF(buf, len, args ...) snprintf(buf, len, args)
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user