Skip to main content

update_machine_dbus_stats

Function update_machine_dbus_stats 

Source
pub async fn update_machine_dbus_stats(
    config: Arc<Config>,
    connection: Connection,
    locked_machine_stats: Arc<RwLock<MachineStats>>,
) -> Result<()>
Expand description

Async wrapper for nested machine/container buses.

Stale pidfd accounting is read from host procfs and currently cannot be attributed to nested machine D-Bus brokers, so machine stats skip it.