Browse Source

qcacmn: Change qtimer time-stamp from decimal to hex

In kernel logs, qtimer currently logs the time-stamps in decimal. Change
time-stamp from decimal to hex in order to order to help correlate
better with other logs in hex qtimer time-stamp.

Change-Id: I46964609645305b1847406841e1b1b641aae9074
CRs-Fixed: 2666868
Alan Chen 5 years ago
parent
commit
a1d5e0c157
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/logging/src/wlan_logging_sock_svc.c

+ 1 - 1
utils/logging/src/wlan_logging_sock_svc.c

@@ -290,7 +290,7 @@ static int wlan_add_user_log_time_stamp(char *tbuf, size_t tbuf_sz, uint64_t ts)
 
 	qdf_get_time_of_the_day_in_hr_min_sec_usec(time_buf, sizeof(time_buf));
 
-	return scnprintf(tbuf, tbuf_sz, "[%.6s][%llu]%s",
+	return scnprintf(tbuf, tbuf_sz, "[%.6s][0x%llx]%s",
 			 current_process_name(), (unsigned long long)ts,
 			 time_buf);
 }