Skip to main content

crashlog_read_from_pmt_sysfs

Function crashlog_read_from_pmt_sysfs 

Source
#[unsafe(no_mangle)]
pub extern "C" fn crashlog_read_from_pmt_sysfs( context: *mut CrashLogContext, ) -> *mut CrashLog
Available on crate feature ffi and (Linux and crate feature extraction) only.
Expand description

Reads the Crash Log reported through Intel PMT from the linux sysfs

ยงErrors

Returns a NULL pointer if the Crash Log record cannot be found.