diff options
author | Maria Matejka <mq@ucw.cz> | 2023-03-09 16:32:20 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-04 17:00:58 +0200 |
commit | 958bb84f772ba098d67d70bcbbdb9b700f17abb7 (patch) | |
tree | 85088dff15c6c1754f9978702b2c9e835828fc27 /sysdep | |
parent | 6899ba2232f232e44c4e45d06036409f173fbe23 (diff) |
Temporarily switching off time annotations of debug log
The "dump *" commands are totally garbled by the time annotations.
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/unix/log.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c index d09481bc..be7f8adf 100644 --- a/sysdep/unix/log.c +++ b/sysdep/unix/log.c @@ -314,6 +314,7 @@ debug(const char *msg, ...) va_start(args, msg); if (dbgf) { +#if 0 struct timespec dbg_time; clock_gettime(CLOCK_MONOTONIC, &dbg_time); uint nsec; @@ -333,7 +334,7 @@ debug(const char *msg, ...) int n = bsnprintf(pos, max, "%u.%09u: [%04x] ", sec, nsec, THIS_THREAD_ID); pos += n; max -= n; - +#endif if (bvsnprintf(pos, max, msg, args) < 0) bug("Extremely long debug output, split it."); |