summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Brown <dustinb@codeaurora.org>2017-01-25 15:28:36 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-01-28 04:50:06 -0800
commit076f34dd478c87cd102ead15384f88862ac90290 (patch)
tree07ad36690b72d866d3525421e40022fbf1fee980
parente2fe5ae31602ab3192b22f9a5599f10c6b990218 (diff)
qcacld-3.0: Allow 16 characters for logging thread names
When logging thread names, the wlan driver truncates them at 6 characters. Increase this limit to 16 to improve the debugging experience involving logs from kthreads. Change-Id: Ib494b12e04ddc8e24e73e77df467abc08ba7275e CRs-Fixed: 1116268
-rw-r--r--core/utils/logging/src/wlan_logging_sock_svc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/utils/logging/src/wlan_logging_sock_svc.c b/core/utils/logging/src/wlan_logging_sock_svc.c
index a3f45d18f09a..4dd94d42d6bf 100644
--- a/core/utils/logging/src/wlan_logging_sock_svc.c
+++ b/core/utils/logging/src/wlan_logging_sock_svc.c
@@ -341,7 +341,7 @@ static int wlan_add_user_log_radio_time_stamp(char *tbuf, size_t tbuf_sz,
qdf_get_time_of_the_day_in_hr_min_sec_usec(time_buf, sizeof(time_buf));
- tlen = scnprintf(tbuf, tbuf_sz, "R%d: [%.6s][%llu] %s ", radio,
+ tlen = scnprintf(tbuf, tbuf_sz, "R%d: [%.16s][%llu] %s ", radio,
((in_irq() ? "irq" : in_softirq() ? "soft_irq" :
current->comm)),
ts, time_buf);
@@ -378,7 +378,7 @@ static int wlan_add_user_log_radio_time_stamp(char *tbuf, size_t tbuf_sz,
qdf_get_time_of_the_day_in_hr_min_sec_usec(time_buf, sizeof(time_buf));
rem = do_div(ts, QDF_MC_TIMER_TO_SEC_UNIT);
- tlen = scnprintf(tbuf, tbuf_sz, "R%d: [%.6s][%lu.%06lu] %s ", radio,
+ tlen = scnprintf(tbuf, tbuf_sz, "R%d: [%.16s][%lu.%06lu] %s ", radio,
((in_irq() ? "irq" : in_softirq() ? "soft_irq" :
current->comm)),
(unsigned long) ts,