[Skiboot] [PATCH 0/2] Full remaining TB in skiboot log

Stewart Smith stewart at linux.vnet.ibm.com
Wed Oct 12 16:26:17 AEDT 2016


Not 100% sure if this is the way I want to go, so posting for comments.

Currently skiboot log is [SECONDS.X/512000000ths, LOG LEVEL], so it's not
a decimal after the decimal point as one may expect.

Also, since this is 9 characters rather than 6, a log entry of 6.110 comes
*AFTER* 6.20, which is decidedly non-obvious.

Stewart Smith (2):
  snprintf: increase testing, %u and 0 padding
  console-log: print full remaining timebase in skiboot log

 core/console-log.c                      |  2 +-
 core/test/run-console-log-buf-overrun.c |  6 ++--
 core/test/run-console-log-pr_fmt.c      |  6 ++--
 core/test/run-console-log.c             |  6 ++--
 libc/test/run-snprintf.c                | 53 +++++++++++++++++++++++++++++++++
 5 files changed, 63 insertions(+), 10 deletions(-)

-- 
2.1.4



More information about the Skiboot mailing list