From c51d84dc09476d9c06b8aac726220bf3c7d62e8d Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 23 Sep 2013 17:23:35 -0500 Subject: 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. --- src/efi-boot-generator/efi-boot-generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/efi-boot-generator') diff --git a/src/efi-boot-generator/efi-boot-generator.c b/src/efi-boot-generator/efi-boot-generator.c index 4367c536b0..05b95ed455 100644 --- a/src/efi-boot-generator/efi-boot-generator.c +++ b/src/efi-boot-generator/efi-boot-generator.c @@ -55,7 +55,7 @@ int main(int argc, char *argv[]) { if (dir_is_empty("/boot") <= 0) return EXIT_SUCCESS; - r = efi_get_loader_device_part_uuid(&id); + r = efi_loader_get_device_part_uuid(&id); if (r == -ENOENT) return EXIT_SUCCESS; if (r < 0) { -- cgit v1.2.3-54-g00ecf