class RebootLog

Defined at line 20 of file ../../src/developer/forensics/feedback/reboot_log/reboot_log.h

Wrapper around a device's reboot log.

Public Methods

const std::string & RebootLogStr ()

Defined at line 27 of file ../../src/developer/forensics/feedback/reboot_log/reboot_log.h

const std::optional<std::string> & Dlog ()

Defined at line 28 of file ../../src/developer/forensics/feedback/reboot_log/reboot_log.h

const FinalShutdownInfo & GetFinalShutdownInfo ()

Defined at line 29 of file ../../src/developer/forensics/feedback/reboot_log/reboot_log.h

const std::optional<zx::duration> & Uptime ()

Defined at line 30 of file ../../src/developer/forensics/feedback/reboot_log/reboot_log.h

const std::optional<zx::duration> & Runtime ()

Defined at line 31 of file ../../src/developer/forensics/feedback/reboot_log/reboot_log.h

const std::optional<std::string> & CriticalProcess ()

Defined at line 32 of file ../../src/developer/forensics/feedback/reboot_log/reboot_log.h

RebootLog ParseRebootLog (const std::string & zircon_reboot_log_path, const std::string & graceful_shutdown_info_path, const std::string & legacy_graceful_reboot_log_path, bool not_a_fdr)

static

Defined at line 297 of file ../../src/developer/forensics/feedback/reboot_log/reboot_log.cc

void RebootLog (std::unique_ptr<FinalShutdownInfo> final_shutdown_info, std::string reboot_log_str, std::optional<std::string> dlog, std::optional<zx::duration> last_boot_uptime, std::optional<zx::duration> last_boot_runtime, std::optional<std::string> critical_process)

Exposed for testing purposes.

Defined at line 322 of file ../../src/developer/forensics/feedback/reboot_log/reboot_log.cc