|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
Interfaces for coredump pseudo-device. More...
Files | |
| file | coredump.h |
| Main header file for coredump pseudo-device driver API. | |
Data Structures | |
| struct | coredump_mem_region_node |
| Structure describing a region in memory that may be stored in core dump at the time it is generated. More... | |
Typedefs | |
| typedef void(* | coredump_dump_callback_t) (uintptr_t dump_area, size_t dump_area_size) |
| Callback that occurs at dump time, data copied into dump_area will be included in the dump that is generated. | |
Functions | |
| static bool | coredump_device_register_memory (const struct device *dev, struct coredump_mem_region_node *region) |
| Register a region of memory to be stored in core dump at the time it is generated. | |
| static bool | coredump_device_unregister_memory (const struct device *dev, struct coredump_mem_region_node *region) |
| Unregister a region of memory to be stored in core dump at the time it is generated. | |
| static bool | coredump_device_register_callback (const struct device *dev, coredump_dump_callback_t callback) |
| Register a callback to be invoked at dump time. | |
Interfaces for coredump pseudo-device.
#include <zephyr/drivers/coredump.h>
Callback that occurs at dump time, data copied into dump_area will be included in the dump that is generated.
| dump_area | Pointer to area to copy data into for inclusion in dump |
| dump_area_size | Size of available memory at dump_area |
|
inlinestatic |
#include <zephyr/drivers/coredump.h>
Register a callback to be invoked at dump time.
| dev | Pointer to the device structure for the driver instance. |
| callback | Callback to be invoked at dump time |
|
inlinestatic |
#include <zephyr/drivers/coredump.h>
Register a region of memory to be stored in core dump at the time it is generated.
| dev | Pointer to the device structure for the driver instance. |
| region | Struct describing memory to be collected |
|
inlinestatic |
#include <zephyr/drivers/coredump.h>
Unregister a region of memory to be stored in core dump at the time it is generated.
| dev | Pointer to the device structure for the driver instance. |
| region | Struct describing memory to be collected |