Re: [PATCH] scripts/bootgraph.pl: ignore times until the clock isrunning

From: Arjan van de Ven
Date: Thu Mar 18 2010 - 14:24:46 EST


On 3/18/2010 10:49, Aaro Koskinen wrote:
The clock used for printk.time=1 does not necessarily start running
from zero. On such platforms the bootgraph does not work properly as
the calculated boottime will be too long.

can we fix the platform to be smarter instead ? I'd think that's needed anyway for various
timers etc to actually work well


To correct this, the patch modifies the script to accept only non-zero
start times. This ensures the report contains entries only from the
period when the clock was running.

Signed-off-by: Aaro Koskinen<aaro.koskinen@xxxxxxxxx>

nothing wrong with the patch itself... just sad that it's needed to work around such bugs ;(

Acked-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/