Sfoglia il codice sorgente

qcacld-3.0: Reduce log level for function call mapping dump

Currently for function call mapping dump, driver is using
info as log level, which results in log flooding on console.

To address above issue, reduce log level for function call
mapping dump from info to debug log level.

CRs-Fixed: 2755567
Change-Id: Ifd40823956dfa6cf65e66a20ee19efcfb1faaf5e
Ashish Kumar Dhanotiya 4 anni fa
parent
commit
f3673912ba
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      core/hdd/src/wlan_hdd_ioctl.c
  2. 1 1
      core/hdd/src/wlan_hdd_main.c

+ 1 - 1
core/hdd/src/wlan_hdd_ioctl.c

@@ -6929,7 +6929,7 @@ static int drv_cmd_get_function_call_map(struct hdd_adapter *adapter,
 	 */
 		hdd_info("Function call map dump start");
 		qdf_get_func_call_map(cc_buf);
-		qdf_trace_hex_dump(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_INFO,
+		qdf_trace_hex_dump(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_DEBUG,
 				   cc_buf, QDF_FUNCTION_CALL_MAP_BUF_LEN);
 		hdd_info("Function call map dump end");
 	} else {

+ 1 - 1
core/hdd/src/wlan_hdd_main.c

@@ -6873,7 +6873,7 @@ static void hdd_dump_func_call_map(void)
 	hdd_info("Function call map dump start");
 	qdf_get_func_call_map(cc_buf);
 	qdf_trace_hex_dump(QDF_MODULE_ID_HDD,
-		QDF_TRACE_LEVEL_INFO, cc_buf, QDF_FUNCTION_CALL_MAP_BUF_LEN);
+		QDF_TRACE_LEVEL_DEBUG, cc_buf, QDF_FUNCTION_CALL_MAP_BUF_LEN);
 	hdd_info("Function call map dump end");
 	qdf_mem_free(cc_buf);
 }