Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
coredump.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>

Go to the source code of this file.

Data Structures

struct  coredump_cmd_copy_arg
 Coredump copy command (COREDUMP_CMD_COPY_STORED_DUMP) argument definition. More...
 

Enumerations

enum  coredump_query_id { COREDUMP_QUERY_GET_ERROR , COREDUMP_QUERY_HAS_STORED_DUMP , COREDUMP_QUERY_GET_STORED_DUMP_SIZE , COREDUMP_QUERY_MAX }
 Query ID. More...
 
enum  coredump_cmd_id {
  COREDUMP_CMD_CLEAR_ERROR , COREDUMP_CMD_VERIFY_STORED_DUMP , COREDUMP_CMD_ERASE_STORED_DUMP , COREDUMP_CMD_COPY_STORED_DUMP ,
  COREDUMP_CMD_INVALIDATE_STORED_DUMP , COREDUMP_CMD_MAX
}
 Command ID. More...
 

Functions

void coredump (unsigned int reason, const z_arch_esf_t *esf, struct k_thread *thread)
 Perform coredump.
 
void coredump_memory_dump (uintptr_t start_addr, uintptr_t end_addr)
 Dump memory region.
 
void coredump_buffer_output (uint8_t *buf, size_t buflen)
 Output the buffer via coredump.
 
int coredump_query (enum coredump_query_id query_id, void *arg)
 Perform query on coredump subsystem.
 
int coredump_cmd (enum coredump_cmd_id query_id, void *arg)
 Perform command on coredump subsystem.