diff options
author | Kay Sievers <kay@vrfy.org> | 2013-09-23 17:23:35 -0500 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-09-24 15:43:41 +0200 |
commit | c51d84dc09476d9c06b8aac726220bf3c7d62e8d (patch) | |
tree | 3440df30c67dc883a896c88b653804240f5bf783 /src/core/manager.c | |
parent | 036ae95ac4a425475b58e1a8e53d5c52b2c8a218 (diff) |
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.
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index 079db4157b..f70ff03033 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -70,7 +70,7 @@ #include "cgroup-util.h" #include "path-util.h" #include "audit-fd.h" -#include "efivars.h" +#include "boot-timestamps.h" #include "env-util.h" /* As soon as 5s passed since a unit was added to our GC queue, make sure to run a gc sweep */ @@ -496,7 +496,7 @@ int manager_new(SystemdRunningAs running_as, bool reexecuting, Manager **_m) { #ifdef ENABLE_EFI if (detect_container(NULL) <= 0) - efi_get_boot_timestamps(&m->userspace_timestamp, &m->firmware_timestamp, &m->loader_timestamp); + boot_timestamps(&m->userspace_timestamp, &m->firmware_timestamp, &m->loader_timestamp); #endif m->running_as = running_as; |