|
PebbleOS v4.45.0-162-g88634f016
|
Outputs of core dumps. More...
Data Structures | |
| struct | pbl_coredump_backend_api |
| Backend operations. More... | |
| struct | pbl_coredump_backend |
| Backend. More... | |
Macros | |
| #define | PBL_COREDUMP_BACKEND_DEFINE(_name, _api) |
| Define a backend. | |
Outputs of core dumps.
A backend is defined with PBL_COREDUMP_BACKEND_DEFINE, and every backend gets every dump. A backend that fails, or that has no room left, stops getting the dump without affecting the others. The core only knows backends through this interface.
init, start, write, space and end run while the system is crashing, so they must not use OS services. The stored_* operations run in thread context, and backends that only output a dump, rather than keep it, leave them NULL.
| struct pbl_coredump_backend |
Backend.
| Data Fields | ||
|---|---|---|
| const struct pbl_coredump_backend_api * | api | Operations. |
| const char * | name | Name. |
| #define PBL_COREDUMP_BACKEND_DEFINE | ( | _name, | |
| _api | |||
| ) |
Define a backend.
| _name | Backend name, also its identifier. |
| _api | Backend operations. |