Home
last modified time | relevance | path

Searched full:coredump (Results 1 – 25 of 91) sorted by relevance

1234

/Zephyr-latest/tests/drivers/coredump/coredump_api/boards/
Dqemu_riscv32.overlay8 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/
Dcoredump.h23 * 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/
Dapp.overlay8 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";
Dtestcase.yaml6 - coredump
10 debug.coredump.drivers.api.qemu_riscv32:
33 debug.coredump.drivers.api:
/Zephyr-latest/subsys/debug/coredump/
DKconfig13 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
Dcoredump_internal.h27 * @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
Dcoredump_backend_flash_partition.c15 #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 …]
Dcoredump_backend_logging.c10 #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);
Dcoredump_core.c10 #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/
Dzephyr,coredump.yaml6 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/
DKconfig8 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.
Dtestcase.yaml2 tags: coredump
10 debug.coredump.backends.logging:
15 debug.coredump.backends.flash:
27 debug.coredump.backends.other:
/Zephyr-latest/drivers/coredump/
DKconfig5 bool "Coredump pseudo-device drivers"
13 int "Coredump device init priority"
16 Coredump pseudo-device driver initialization priority.
19 module-str = coredump device
Dcoredump_impl.c7 #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/
Dtestcase.yaml2 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/
Dcoredump.h9 * @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/
Dcoredump.rst41 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 …]
Dindex.rst10 coredump.rst
/Zephyr-latest/doc/hardware/peripherals/
Dcoredump.rst3 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/
Dmain.c15 #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/
Dmain.c9 #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/
DCMakeLists.txt20 coredump
/Zephyr-latest/tests/subsys/debug/coredump_threads/
Dtestcase.yaml6 - coredump
12 debug.coredump.threads:
/Zephyr-latest/arch/xtensa/core/
Dcoredump.c9 #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/
Dqemu_x86.overlay17 label = "coredump-partition";

1234