From a1d5e0c1571b7f58626b6b0ad17dc7895fd05765 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Fri, 17 Apr 2020 11:50:27 -0700 Subject: [PATCH] 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 --- utils/logging/src/wlan_logging_sock_svc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/logging/src/wlan_logging_sock_svc.c b/utils/logging/src/wlan_logging_sock_svc.c index 931f1a59b4..d6366fb883 100644 --- a/utils/logging/src/wlan_logging_sock_svc.c +++ b/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); }