mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(coredump): implement CONFIG_ESP_COREDUMP_MAX_TASKS_NUM limitation
This commit is contained in:
@@ -35,7 +35,7 @@ The ELF format contains extended features and allows more information regarding
|
||||
|
||||
The Binary format is kept for compatibility reasons. Binary format core dump files are smaller while provide better performance.
|
||||
|
||||
The :ref:`CONFIG_ESP_COREDUMP_MAX_TASKS_NUM` option configures the number of task snapshots saved by the core dump.
|
||||
The :ref:`CONFIG_ESP_COREDUMP_MAX_TASKS_NUM` option configures the number of task snapshots saved by the core dump. Crashed task registers and the stack are always saved, regardless of this configuration option. Other tasks are included in order of their priority (starting with the highest-priority ready task).
|
||||
|
||||
Core dump data integrity checking is supported via the ``Components`` > ``Core dump`` > ``Core dump data integrity check`` option.
|
||||
|
||||
@@ -50,7 +50,6 @@ Core dump data integrity checking is supported via the ``Components`` > ``Core d
|
||||
|
||||
The SHA256 hash algorithm provides a greater probability of detecting corruption than a CRC32 with multiple-bit errors.
|
||||
|
||||
|
||||
Reserved Stack Size
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ ELF 格式具备扩展特性,支持在发生崩溃时保存更多关于错误
|
||||
|
||||
出于兼容性考虑,核心转储文件保留二进制格式。二进制格式的核心转储文件更小,性能更优。
|
||||
|
||||
选项 :ref:`CONFIG_ESP_COREDUMP_MAX_TASKS_NUM` 配置核心转储保存的任务快照数量。
|
||||
选项 :ref:`CONFIG_ESP_COREDUMP_MAX_TASKS_NUM` 可用于配置核心转储保存的任务快照数量。崩溃任务的寄存器和栈总是会被保存,不受此配置选项影响。其他任务的快照将根据优先级顺序(从就绪状态下优先级最高的任务开始)依次保存。
|
||||
|
||||
通过 ``Components`` > ``Core dump`` > ``Core dump data integrity check`` 选项可进行核心转储数据完整性检查。
|
||||
|
||||
@@ -50,7 +50,6 @@ ELF 格式具备扩展特性,支持在发生崩溃时保存更多关于错误
|
||||
|
||||
SHA256 哈希算法检测到损坏的概率高于具有多位错误的 CRC32。
|
||||
|
||||
|
||||
保留栈大小
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user