/Zephyr-latest/tests/drivers/coredump/coredump_api/boards/ |
D | qemu_riscv32.overlay | 8 coredump_device0: coredump-device0 { 9 compatible = "zephyr,coredump"; 10 coredump-type = "COREDUMP_TYPE_MEMCPY"; 17 coredump_device1: coredump-device1 { 18 compatible = "zephyr,coredump"; 19 coredump-type = "COREDUMP_TYPE_MEMCPY"; 25 coredump_devicecb: coredump-device-cb { 26 compatible = "zephyr,coredump"; 27 coredump-type = "COREDUMP_TYPE_CALLBACK";
|
/Zephyr-latest/include/zephyr/debug/ |
D | coredump.h | 23 * Need to prefix coredump strings to make it easier to parse 31 * @defgroup coredump_apis Coredump APIs 33 * @brief Coredump APIs 46 * Check if there is a stored coredump from backend. 49 * - 1 if there is a stored coredump, 0 if none. 57 * - coredump raw size from backend, 0 if none. 79 * Verify that the stored coredump is valid. 83 * - 0 if not valid or no stored coredump. 90 * Erase the stored coredump. 100 * Copy the raw stored coredump. [all …]
|
/Zephyr-latest/tests/drivers/coredump/coredump_api/ |
D | app.overlay | 8 coredump_device0: coredump-device0 { 9 compatible = "zephyr,coredump"; 10 coredump-type = "COREDUMP_TYPE_MEMCPY"; 14 coredump_devicecb: coredump-device-cb { 15 compatible = "zephyr,coredump"; 16 coredump-type = "COREDUMP_TYPE_CALLBACK";
|
D | testcase.yaml | 6 - coredump 10 debug.coredump.drivers.api.qemu_riscv32: 33 debug.coredump.drivers.api:
|
/Zephyr-latest/subsys/debug/coredump/ |
D | Kconfig | 13 prompt "Coredump backend" 17 bool "Use Logging subsystem for coredump" 23 bool "Use flash partition for coredump" 29 "coredump-partition". 32 bool "Use memory window for coredump on Intel ADSP" 40 bool "Backend subsystem for coredump defined out of tree" 96 bool "Coredump shell" 99 This shell provides access to coredump and its backends. 118 Say n to conserve space on coredump backend or if you will never
|
D | coredump_internal.h | 27 * @brief Mark the start of coredump 29 * This sets up coredump subsys so coredump can be commenced. 37 * @brief Mark the end of coredump 39 * This tells the coredump subsys to finalize the coredump
|
D | coredump_backend_flash_partition.c | 15 #include <zephyr/debug/coredump.h> 19 LOG_MODULE_REGISTER(coredump, CONFIG_KERNEL_LOG_LEVEL); 23 * @brief Simple coredump backend to store data in flash partition. 25 * This provides a simple backend to store coredump data in a flash 26 * partition, labeled "coredump-partition" in devicetree. 30 * coredump data follows. The padding is to simplify the data read 38 #error "Need a fixed partition named 'coredump-partition'!" 96 /* Coredump size, excluding this header */ 123 LOG_ERR("Error opening flash partition for coredump!"); in partition_open() 237 * @brief Process the stored coredump in flash partition. [all …]
|
D | coredump_backend_logging.c | 10 #include <zephyr/debug/coredump.h> 15 LOG_MODULE_REGISTER(coredump, CONFIG_KERNEL_LOG_LEVEL); 159 SHELL_CMD(get, NULL, "Get Coredump error", cmd_coredump_error_get), 160 SHELL_CMD(clear, NULL, "Clear Coredump error", 171 SHELL_CMD_REGISTER(coredump, &sub_coredump, 172 "Coredump commands (logging backend)", NULL);
|
D | coredump_core.c | 10 #include <zephyr/debug/coredump.h> 32 #error "Need to select a coredump backend" 36 #include <zephyr/drivers/coredump.h> 104 DEVICE_API_GET(coredump, dev)->dump(dev); in process_coredump_dev_memory() 167 void coredump(unsigned int reason, const struct arch_esf *esf, in coredump() function
|
/Zephyr-latest/dts/bindings/coredump/ |
D | zephyr,coredump.yaml | 6 compatible: "zephyr,coredump" 15 coredump-type: 19 Designate which type of coredump device this will be. 21 into the coredump. The memory-regions array can contain 0 or more entries, and more 24 memory-regions array with a size of 0 and a desired size. The coredump device will 27 to add data into the coredump that may not be directly accessible through a memcpy and/or
|
/Zephyr-latest/tests/subsys/debug/coredump_backends/ |
D | Kconfig | 8 bool "Expected backend has coredump storage." 10 Set if the test expects coredump backend with storage. 13 int "Expected backend's coredump storage size." 16 Test expects coredump backend storage with the size given.
|
D | testcase.yaml | 2 tags: coredump 10 debug.coredump.backends.logging: 15 debug.coredump.backends.flash: 27 debug.coredump.backends.other:
|
/Zephyr-latest/drivers/coredump/ |
D | Kconfig | 5 bool "Coredump pseudo-device drivers" 13 int "Coredump device init priority" 16 Coredump pseudo-device driver initialization priority. 19 module-str = coredump device
|
D | coredump_impl.c | 7 #include <zephyr/debug/coredump.h> 8 #include <zephyr/drivers/coredump.h> 18 /* Type of coredump device */ 129 static DEVICE_API(coredump, coredump_api) = {
|
/Zephyr-latest/tests/subsys/debug/coredump/ |
D | testcase.yaml | 2 debug.coredump.logging_backend: 3 tags: coredump 16 - "Coredump: (.*)" 25 debug.coredump.logging_backend.userspace: 26 tags: coredump 44 - "Coredump: (.*)"
|
/Zephyr-latest/include/zephyr/drivers/ |
D | coredump.h | 9 * @brief Public APIs for coredump pseudo-device driver 23 * @brief Coredump pseudo-device driver APIs 24 * @defgroup coredump_device_interface Coredump pseudo-device driver APIs 64 * Type definition of coredump API function for adding specified 65 * data into coredump 70 * Type definition of coredump API function for registering a memory 77 * Type definition of coredump API function for unregistering a memory 84 * Type definition of coredump API function for registering a dump 91 * API which a coredump pseudo-device driver should expose
|
/Zephyr-latest/doc/services/debugging/ |
D | coredump.rst | 41 config selected) through one or more :ref:`coredump devices <coredump_device_api>` 60 :zephyr_file:`scripts/coredump/coredump_serial_log_parser.py` can be used 64 :zephyr_file:`scripts/coredump/coredump_gdbserver.py` with the core dump 84 label = "coredump-partition"; 96 in :file:`coredump.log`: 168 ./scripts/coredump/coredump_serial_log_parser.py coredump.log coredump.bin 174 ./scripts/coredump/coredump_gdbserver.py build/zephyr/zephyr.elf coredump.bin 247 …(gdb) target remote | ./scripts/coredump/coredump_gdbserver.py --pipe build/zephyr/zephyr.elf core… 396 :zephyr_file:`include/zephyr/debug/coredump.h`. 403 ``scripts/coredump/gdbstubs/`` [all …]
|
D | index.rst | 10 coredump.rst
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | coredump.rst | 3 Coredump Device 9 The coredump device is a pseudo-device driver with two types.A COREDUMP_TYPE_MEMCPY
|
/Zephyr-latest/tests/subsys/debug/coredump_backends/src/ |
D | main.c | 15 #include <zephyr/debug/coredump.h> 84 /* There should be a stored coredump now if backend has storage */ in test_has_stored_dump() 97 zassert_true(is_expected, "Unexpected coredump found.\n"); in test_has_stored_dump() 125 /* There should be a stored coredump now if backend has storage */ in test_verify_stored_dump() 164 /* There should be a stored coredump now if backend has storage */ in test_invalidate_stored_dump() 195 /* There should be a stored coredump now if backend has storage */ in test_erase_stored_dump() 240 "Coredump size %d != %d size expected.\n", in test_get_stored_dump_size()
|
/Zephyr-latest/tests/subsys/debug/coredump/src/ |
D | main.c | 9 #include <zephyr/debug/coredump.h> 48 * a lot, so it's good to check that it causes a coredump. in func_3() 76 printk("Coredump: %s\n", CONFIG_BOARD); in crash_entry()
|
/Zephyr-latest/subsys/debug/ |
D | CMakeLists.txt | 20 coredump
|
/Zephyr-latest/tests/subsys/debug/coredump_threads/ |
D | testcase.yaml | 6 - coredump 12 debug.coredump.threads:
|
/Zephyr-latest/arch/xtensa/core/ |
D | coredump.c | 9 #include <zephyr/debug/coredump.h> 37 /* Future versions of Xtensa coredump may expand 54 * scripts/coredump/gdbstubs/arch/xtensa.py TO MATCH. 128 /* Set in top-level CMakeLists.txt for use with Xtensa coredump */ in arch_coredump_info_dump()
|
/Zephyr-latest/tests/subsys/debug/coredump_backends/boards/ |
D | qemu_x86.overlay | 17 label = "coredump-partition";
|