1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-27 13:35:44 +00:00
trezor-firmware/core/embed/upymod/modtrezorutils
Roman Zeyde 5fd168c363 feat(core): dump GC arena on OOM
Enabled for debug firmware and non-frozen emulator.

JSON dump can be extracted from debug log and analyzed using:

$ awk '/^\[$/,/^\]$/' <debug.log >dump.json
$ core/tools/analyze-memory-dump.py dump.json

[no changelog]
2025-03-17 20:17:42 +02:00
..
modtrezorutils-meminfo.h feat(core): dump GC arena on OOM 2025-03-17 20:17:42 +02:00
modtrezorutils.c feat(core): dump GC arena on OOM 2025-03-17 20:17:42 +02:00