qcacmn: Utils: Reduce the log spam in kmsg
Move the logs to appropriate log levels to reduce the log spam in kmsg. Change-Id: I27ca212113513b15f159aa26da67e03bd3a73a9a CRs-Fixed: 2017427
This commit is contained in:

کامیت شده توسط
snandini

والد
2cde14e687
کامیت
ee8f5dbf4b
@@ -713,7 +713,7 @@ static void send_flush_completion_to_user(void)
|
||||
&indicator, &reason_code, &recovery_needed);
|
||||
|
||||
/* Error on purpose, so that it will get logged in the kmsg */
|
||||
LOGGING_TRACE(QDF_TRACE_LEVEL_ERROR,
|
||||
LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG,
|
||||
"%s: Sending flush done to userspace", __func__);
|
||||
|
||||
wlan_report_log_completion(is_fatal, indicator, reason_code);
|
||||
@@ -1301,7 +1301,7 @@ static void send_packetdump_monitor(uint8_t type)
|
||||
|
||||
pd_hdr.type = type;
|
||||
|
||||
LOGGING_TRACE(QDF_TRACE_LEVEL_INFO,
|
||||
LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG,
|
||||
"fate Tx-Rx %s: type: %d", __func__, type);
|
||||
|
||||
wlan_pkt_stats_to_logger_thread(&pktlog_hdr, &pd_hdr, NULL);
|
||||
@@ -1328,7 +1328,7 @@ void wlan_deregister_txrx_packetdump(void)
|
||||
gtx_count = 0;
|
||||
grx_count = 0;
|
||||
} else
|
||||
LOGGING_TRACE(QDF_TRACE_LEVEL_INFO,
|
||||
LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG,
|
||||
"%s: deregistered packetdump already", __func__);
|
||||
}
|
||||
|
||||
@@ -1347,7 +1347,7 @@ static bool check_txrx_packetdump_count(void)
|
||||
{
|
||||
if (gtx_count == MAX_NUM_PKT_LOG ||
|
||||
grx_count == MAX_NUM_PKT_LOG) {
|
||||
LOGGING_TRACE(QDF_TRACE_LEVEL_INFO,
|
||||
LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG,
|
||||
"%s gtx_count: %d grx_count: %d deregister packetdump",
|
||||
__func__, gtx_count, grx_count);
|
||||
wlan_deregister_txrx_packetdump();
|
||||
|
مرجع در شماره جدید
Block a user