chiark / gitweb /
bootchart: ask for --rel when failed to initialize graph start time
authorKarel Zak <kzak@redhat.com>
Thu, 31 Jul 2014 08:15:40 +0000 (10:15 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 3 Aug 2014 05:12:53 +0000 (01:12 -0400)
commit9a6f36c08f1ff93ff861e6371e081122a564c900
tree78a32593b1ddeac270126f0dca512ecc61135b2b
parentc358d728e7d6bf38a0176a9d5d013c6e972cddbf
bootchart: ask for --rel when failed to initialize graph start time

We always read system uptime before log start time. So the uptime
should be always smaller number, except it includes system suspend
time. It seems better to ask for --rel and exit() than try to be
smart and try to recovery from this situation or generate huge
messy graphs.
src/bootchart/bootchart.c