esp_tracedata_hdr_t struct
Trace data header. Every user data chunk is prepended with this header. User allocates block with esp_apptrace_buffer_get and then fills it with data, in multithreading environment it can happen that tasks gets buffer and then gets interrupted, so it is possible that user data are incomplete when memory block is exposed to the host. In this case host SW will see that wr_sz < block_sz and will report error.
Fields