support acpi firmware performance data (FPDT)
Prefer firmware-provided performance data over loader-exported ones; if ACPI data is available, always use it, otherwise try to read the loader data. The firmware-provided variables start at the time the first EFI image is executed and end when the operating system exits the boot services; the (loader) time calculated in systemd-analyze increases.
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ int boot_info_query(struct boot_info *info) {
|
||||
efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderFirmwareInfo", &info->fw_info);
|
||||
efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderImageIdentifier", &info->loader_image_path);
|
||||
tilt_slashes(info->loader_image_path);
|
||||
efi_get_loader_device_part_uuid(&info->loader_part_uuid);
|
||||
efi_loader_get_device_part_uuid(&info->loader_part_uuid);
|
||||
|
||||
boot_loader_read_entries(info);
|
||||
efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderEntrySelected", &loader_active);
|
||||
|
||||
Reference in New Issue
Block a user