Browse Source

qcacld-3.0: Log packet length as part of page fault reason logging

Log packet length as part of page fault reason logging to know
how many bytes of data is filled by target.

Change-Id: I3426361d555ec195446348df9740900aa97b4604
CRs-Fixed: 2801605
Rajeev Kumar 4 năm trước cách đây
mục cha
commit
97a4578631
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      core/wma/src/wma_features.c

+ 2 - 1
core/wma/src/wma_features.c

@@ -2412,7 +2412,8 @@ static int wma_wake_event_packet(
 		 * dump event buffer which contains more info regarding
 		 * current page fault.
 		 */
-		wma_debug("PAGE_FAULT occurs during suspend:");
+		wma_debug("PAGE_FAULT occurs during suspend: packet_len %u",
+			  packet_len);
 		qdf_trace_hex_dump(QDF_MODULE_ID_WMA, QDF_TRACE_LEVEL_DEBUG,
 				   packet, packet_len);
 		break;