nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ etb_data_get()

size_t etb_data_get ( uint32_t * buf,
size_t buf_size )

#include <include/debug/etb_trace.h>

Retrieve ETB trace data to buffer.

Parameters
[out]bufOutput buffer.
[in]buf_sizeSize of output buffer in bytes.
Return values
Numberof bytes of trace data returned in buf.
-EINVALOn invalid input parameters.