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

◆ nrf_modem_lib_trace_data_size()

size_t nrf_modem_lib_trace_data_size ( void  )

#include <include/modem/nrf_modem_lib_trace.h>

Get the number of bytes stored in the compile-time selected trace backend.

Note
To ensure the retrieved number of bytes is correct, this function should only be called when the backend is done processing traces. This operation is only supported with some trace backends. If not supported, the function returns -ENOTSUP.
Returns
Number of bytes stored in the trace backend.