Skip to main content

Module crash_records

Module crash_records 

Expand description

What this computer recorded of the times it went wrong: a desktop that stopped responding or stopped unexpectedly, a part of it that restarted, the computer itself stopping (the kernel’s record from before a reset), and a fault the system’s core went on from.

The records are files the host keeps in the person’s private crash directory; nothing here sends one anywhere. They read two ways, over the same names: as the session’s published resources — RESOURCE reads as every record without its text (CrashRecords), record as one record’s text, the stacks included (CrashRecordText) — and, to a caller that reaches the records as steps, under PROVIDER: LIST and READ answer the same two. Nothing is ever changed.

Structs§

CrashRecord
One record, as LIST answers it: what happened and when, without the text.
CrashRecordText
One record’s text, as READ answers it.

Enums§

CrashKind
What a record says happened.
StopReason
What the kernel’s record says it met: why the computer stopped, or the fault it went on from.

Constants§

LIST
Every record, newest first, as CrashRecords without their text.
PROVIDER
The provider the host answers the records under.
READ
One record’s text (id), as a CrashRecordText.
RECORD_PREFIX
What a record’s resource id starts with, before its name.
RESOURCE
The resource the steps are actions of, and the session’s reading of every record, newest first.
STEPS
Every step, in the order a catalogue lists them.

Functions§

record
The resource the record id reads as: its facts and its text.
target