nRF Connect SDK API 0.1.0
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.