Hi Auke,

I was wondering if you have tried to take advantage of StartupFinished
signal sent by systemd (
http://www.freedesktop.org/wiki/Software/systemd/dbus).

Would it make sense to register on "StartupFinished" signal and stop taking
measurements when systemd boots up completely? This would be an alternate
to "samples=" option. "samples=" option is great but one needs to know how
long does their system take to boot up so that one can do the math by
dividing boot up time by freq= option of bootchart. Even then this would be
a rough estimate.

Since bootchart starts even before dbus, you won't be able to register for
the StartupFinished signal until the bus is ready. Registration could be
done in the bootchart's while loop where the measurements are taken. Then
the question is, would registration attempts take too much resource?
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to