Available on crate feature
ffi only.Expand description
C interface to the Intel Crash Log extraction and decoding functions.
Structs§
- Crash
LogContext - Crash Log Global Context.
- Crash
LogExport - Opaque type that stores a representation of a Crash Log.
- Crash
LogNode Children - Opaque type that represents an iterator over the children of a Crash Log register tree node.
- Crash
Logs - Opaque type that represents an iterator over Crash Logs.
Functions§
- crashlog_
decode ⚠ - Decodes a
CrashLoginto a register tree. - crashlog_
deinit - Releases the memory allocated for the Crash Log global context.
- crashlog_
export_ ⚠to_ cper - Exports the Crash Log as a CPER record.
- crashlog_
export_ ⚠to_ json serialize - Exports the Crash Log register tree (
Node) as JSON file. - crashlog_
get_ ⚠next_ node_ child - Returns the next child of a Crash Log register tree node.
- crashlog_
get_ ⚠node_ by_ path - Returns the Crash Log register tree node located at the provided
path. - crashlog_
get_ ⚠node_ children - Returns a iterator over the children of a Crash Log register tree node.
- crashlog_
get_ ⚠node_ name - Writes the name of the Crash Log
Nodein the buffer pointed by thebufferargument. - crashlog_
get_ ⚠node_ value - Copies the value stored in the Crash Log register tree node into the qword pointed by the
valueargument. - crashlog_
init - Initializes the Crash Log Decoder Context
- crashlog_
next ⚠ - Returns the next Crash Log in the iterator.
- crashlog_
read_ ⚠export - Reads the next chunk of the Crash Log export.
- crashlog_
read_ from_ acpi_ sysfs Linux and extraction - Reads the Crash Log reported through ACPI from the linux sysfs
- crashlog_
read_ ⚠from_ buffer - Creates a
CrashLogobject from a binary blob. - crashlog_
read_ from_ pmt_ sysfs Linux and extraction - Reads the Crash Log reported through Intel PMT from the linux sysfs
- crashlog_
read_ from_ windows_ event_ logs Windows and extraction - Reads the Crash Log records from the Windows Event Logs.
- crashlog_
release - Releases the memory allocated for the Crash Log.
- crashlog_
release_ export - Releases the memory allocated for the Crash Log export.
- crashlog_
release_ nodes - Releases the memory allocated for the Crash Log register tree.