Expand description
§varlink_boot module
Boot blame from the io.systemd.Metrics stream rather than per-unit D-Bus
property reads. Available from systemd v261+, which is when the metrics
endpoint gained the per-unit ActiveTimestamp/InactiveExitTimestamp
families this reads.
The D-Bus path costs one ListUnits plus two property reads for every
unit on the system — several hundred round trips, which is why boot blame
ships disabled. Here it is one streamed List, and only once per boot:
boot::update_boot_blame_stats caches the result in memory and on disk
keyed by boot id, so a daemon pays this on its first cycle and never again.
Re-exports§
pub use crate::varlink_units::METRICS_SOCKET_PATH;
Functions§
- get_
boot_ blame_ stats - Collect boot blame over varlink.