qcacmn: Reduce log level of DPTRACE prints to DEBUG
Presently log level of DPTRACE prints is INFO due to which they are coming in kmsg and causing watchdog bite. Reduce log level of DPTRACE prints from INFO to DEBUG. Change-Id: I0124dcc461d3e05541267c8310a43ea3ce0de9af CRs-Fixed: 2043719
This commit is contained in:

committed by
snandini

parent
7b61c6ca74
commit
26cfe7eb28
@@ -927,7 +927,7 @@ void qdf_dp_trace_set_track(qdf_nbuf_t nbuf, enum qdf_proto_dir dir)
|
||||
EXPORT_SYMBOL(qdf_dp_trace_set_track);
|
||||
#if CONFIG_MCL
|
||||
#define DPTRACE_PRINT(args...) \
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_INFO, ## args)
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_DEBUG, ## args)
|
||||
#else
|
||||
#define DPTRACE_PRINT(args...) \
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_NONE, ## args)
|
||||
@@ -1702,13 +1702,11 @@ void qdf_dp_trace_dump_all(uint32_t count, uint8_t pdev_id)
|
||||
int32_t i, tail;
|
||||
|
||||
if (!g_qdf_dp_trace_data.enable) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SYS,
|
||||
QDF_TRACE_LEVEL_ERROR, "Tracing Disabled");
|
||||
DPTRACE_PRINT("Tracing Disabled");
|
||||
return;
|
||||
}
|
||||
|
||||
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_ERROR,
|
||||
"Total Records: %d, Head: %d, Tail: %d",
|
||||
DPTRACE_PRINT("Total Records: %d, Head: %d, Tail: %d",
|
||||
g_qdf_dp_trace_data.num, g_qdf_dp_trace_data.head,
|
||||
g_qdf_dp_trace_data.tail);
|
||||
|
||||
|
Reference in New Issue
Block a user