Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
coredump.h File Reference

Public APIs for coredump pseudo-device driver. More...

#include <zephyr/device.h>
#include <zephyr/sys/slist.h>

Go to the source code of this file.

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.
 

Detailed Description

Public APIs for coredump pseudo-device driver.