Purpose:
 This script is part of 'cm_destroy_id.d' command to collect firmware diagnostics
 data. This is not meant to be executed directly. It stores all the logs into
 '/var/oled/cm_destroy_id.d/' sysinfo-snapshot.py will take longer time based on
 the firmware/system load. Hence the script writes the status of log completion
 to '/var/oled/cm_destroy_id.d/mlxqpdump_stat'. You can use this to know the
 completion of dumps.

Sample output from '/var/oled/cm_destroy_id.d/mlxqpdump_stat':


[20260126_134839] Begin Resource-dump: Iter_cnt=1 qp=1 dev=0000:11:00.2 cm_id=ff18be7d3011a200
[20260126_134839] Iter_cnt=1: resdump started.
[20260126_134839] Iter_cnt=1: resdump completed.
[20260126_134839] Iter_cnt=1: mstdump started.
[20260126_134839] Iter_cnt=1: mstdump completed.
[20260126_134839] Iter_cnt=1: sysinfo-snapshot started.
[20260126_134839] Iter_cnt=1: sysinfo-snapshot completed.
[20260126_134839] End   Resource-dump: Iter_cnt=1 qp=1 dev=0000:11:00.2 cm_id=ff18be7d3011a200
...

[20260126_135426] Begin Resource-dump: Iter_cnt=5 qp=1 dev=0000:11:00.2 cm_id=ff18be7d2cd2aa00
[20260126_135426] Iter_cnt=5: resdump started.
[20260126_135426] Iter_cnt=5: resdump completed.
[20260126_135426] Iter_cnt=5: mstdump started.
[20260126_135426] Iter_cnt=5: mstdump completed.
[20260126_135426] End   Resource-dump: Iter_cnt=5 qp=1 dev=0000:11:00.2 cm_id=ff18be7d2cd2aa00

