Skip to main content

Module source

Module source 

Source
Expand description

Crash Log sources and their capabilities

This module provides abstractions for discovering, querying, and extracting Crash Log data from various platform sources. Each source has different capabilities such as extraction, on-demand triggering, and enable/disable control.

§Supported Sources

  • ACPI BERT (acpi) - Boot Error Record Table for firmware-reported errors
  • Intel PMT (pmt:<device>) - Platform Monitoring Technology devices with Crash Log regions
  • Event Log (evt) - Operating system event logs (Windows)

§Examples

Discovering available sources:

use intel_crashlog::prelude::*;

let sources = CrashLogSource::discover();
for source in sources {
    println!("{}: {}", source, source.description());
    println!("Capabilities: {:?}", source.capabilities());
}

Enums§

Capability
Capability of a Crash Log source
CrashLogSource
Represents a source from which Crash Log data can be extracted
ParseCrashLogSourceError
Error type returned when parsing a CrashLogSource from a string fails

Type Aliases§

Capabilities
Set of all the capabilities supported by a Crash Log source