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§
- Crash
Record - One record, as
LISTanswers it: what happened and when, without the text. - Crash
Record Text - One record’s text, as
READanswers it.
Enums§
- Crash
Kind - What a record says happened.
- Stop
Reason - 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 aCrashRecordText. - 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.