summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2017-03-09 18:45:46 -0800
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-10 19:32:23 -0800
commit72530287e86b495bfd84c56f8f12d45c72a7242b (patch)
treee3b34f281108112092f23ac7a60c0fcfaaa4607d
parent1f8d1ff1f30ac4ac8f502e49df76adc3133b4722 (diff)
qcacld-3.0: 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: 2014745
-rw-r--r--core/utils/logging/src/wlan_logging_sock_svc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/utils/logging/src/wlan_logging_sock_svc.c b/core/utils/logging/src/wlan_logging_sock_svc.c
index 4be3e1dff3f3..c6b2c1289c15 100644
--- a/core/utils/logging/src/wlan_logging_sock_svc.c
+++ b/core/utils/logging/src/wlan_logging_sock_svc.c
@@ -794,7 +794,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_INFO,
+ LOGGING_TRACE(QDF_TRACE_LEVEL_DEBUG,
"%s: Sending flush done to userspace", __func__);
wlan_report_log_completion(is_fatal, indicator, reason_code);
@@ -1501,7 +1501,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);
@@ -1528,7 +1528,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__);
}
@@ -1547,7 +1547,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();