Some platforms have a small amount of non-volatile storage that can be used to store information useful to diagnose the cause of a system crash. This is the generic part of a file system interface that presents information from the crash as a series of files in /dev/pstore. Once the information has been seen, the underlying storage is freed by deleting the files. Signed-off-by: Tony Luck <tony.luck@intel.com>
8 lines
281 B
C
8 lines
281 B
C
extern void pstore_get_records(void);
|
|
extern int pstore_mkfile(enum pstore_type_id, char *psname, u64 id,
|
|
char *data, size_t size,
|
|
struct timespec time, int (*erase)(u64));
|
|
extern int pstore_is_mounted(void);
|
|
|
|
extern struct kobj_attribute pstore_kmsg_bytes_attr;
|