[systemd-devel] Can bootchart take advantage of startup completed signal?

Umut Tezduyar umut at tezduyar.com
Wed Feb 13 00:27:22 PST 2013


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130213/679f7e46/attachment.html>


More information about the systemd-devel mailing list