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

Stewart Smith stewart at linux.vnet.ibm.com
Mon Oct 17 10:43:25 AEDT 2016


Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> 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(-)

Series merged to master as of fa0f3b9acbfa79e7981baff56d151d1273f97f35

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list