[Skiboot] [TRIVIAL][V1][PATCH] Make console-log time more readable

Balbir Singh bsingharora at gmail.com
Thu May 5 13:23:11 AEST 2016



On 04/05/16 15:33, Balbir Singh wrote:
> I've tried to align it with what the kernel prints today
> 
> The existing logs show
> 
> [20287269125,5] PSI[0x000]: Found PSI bridge [working=1, active=0]
> [890425679,5] BT: Interface initialized, IO 0x00e4
> [1249199642,4] SLW: HB-provided idle states property found
> [1249344409,5] NVRAM: Size is 576 KB
> [1484422964,3] NVRAM: Layout appears sane
> 
> The mftb() output is not very meaningful, the changed output shows
> 
> [   38.315784591,5] CENTAUR:   FSI host: 0x0 cMFSI0 port 2
> [   38.315922971,5] PSI[0x000]: Found PSI bridge [working=1, active=0]
> [    1.448765255,5] BT: Interface initialized, IO 0x00e4
> [    2.398136129,5] NVRAM: Size is 576 KB
> [    3.145017865,3] NVRAM: Layout appears sane
> 
> For the output sample, I've taken bits where one can see the time move back
> w.r.t. previous log, but that was always the case. I don't think that is
> worth fixing here
> 
> Adds an additional divide and modulo for every log printed
> 
> Signed-off-by: Balbir Singh <bsingharora at gmail.com>

This regresses core/test/run-console-log.c

I'll redo the patches with the fixes to the test as well


More information about the Skiboot mailing list