ESP-IDF
esp_apptrace_log_lock()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_apptrace_log_lock()
esp_apptrace_log_lock() function
Syntax
Show:
Summary
Declaration
Definition
from
esp_app_trace_util.h:164
int
esp_apptrace_log_lock
(
void
)
;
Implemented in
app_trace_util.c:22
Examples
References
from
examples
Code
Location
Referrer
int
esp_apptrace_log_lock
(
void
)
app_trace_util.c:22
int
esp_apptrace_log_lock
(
void
)
;
esp_app_trace_util.h:164
ESP_APPTRACE_LOGD
(
"HW interface %p"
,
hw
)
;
app_trace.c:50
esp_apptrace_init()
ESP_APPTRACE_LOGE
(
"Failed to init trace channel HW interface (%d)!"
,
res
)
;
app_trace.c:69
esp_apptrace_init()
ESP_APPTRACE_LOGD
(
"Trace destination for JTAG not supported!"
)
;
app_trace.c:98
esp_apptrace_down_buffer_config()
ESP_APPTRACE_LOGD
(
"Trace destination for UART not supported!"
)
;
app_trace.c:106
esp_apptrace_down_buffer_config()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:115
esp_apptrace_down_buffer_get()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:127
esp_apptrace_down_buffer_get()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:143
esp_apptrace_down_buffer_put()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:155
esp_apptrace_down_buffer_put()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:172
esp_apptrace_read()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:184
esp_apptrace_read()
ESP_APPTRACE_LOGD
(
"Read %"
PRIu32
" bytes from host"
,
act_sz
)
;
app_trace.c:197
esp_apptrace_read()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:213
esp_apptrace_buffer_get()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:225
esp_apptrace_buffer_get()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:241
esp_apptrace_buffer_put()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:253
esp_apptrace_buffer_put()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:270
esp_apptrace_write()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:282
esp_apptrace_write()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:310
esp_apptrace_vprintf_to()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:322
esp_apptrace_vprintf_to()
ESP_APPTRACE_LOGD
(
"fmt %p"
,
fmt
)
;
app_trace.c:330
esp_apptrace_vprintf_to()
ESP_APPTRACE_LOGD
(
"nargs = %d"
,
nargs
)
;
app_trace.c:337
esp_apptrace_vprintf_to()
ESP_APPTRACE_LOGE
(
"Failed to store all printf args!"
)
;
app_trace.c:339
esp_apptrace_vprintf_to()
ESP_APPTRACE_LOGE
(
"Failed to get buffer!"
)
;
app_trace.c:344
esp_apptrace_vprintf_to()
ESP_APPTRACE_LOGD
(
"arg %"
PRIx32
,
arg
)
;
app_trace.c:356
esp_apptrace_vprintf_to()
ESP_APPTRACE_LOGE
(
"Failed to put printf buf (%d)!"
,
ret
)
;
app_trace.c:361
esp_apptrace_vprintf_to()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:378
esp_apptrace_flush_nolock()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:387
esp_apptrace_flush_nolock()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:403
esp_apptrace_flush()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:412
esp_apptrace_flush()
ESP_APPTRACE_LOGV
(
"%s(): enter"
,
__func__
)
;
app_trace.c:427
esp_apptrace_host_is_connected()
ESP_APPTRACE_LOGE
(
"Trace destination %d not supported!"
,
dest
)
;
app_trace.c:436
esp_apptrace_host_is_connected()
ESP_APPTRACE_LOGD
(
"Recvd %"
PRIu16
" bytes from host (@ %p) [%x %x %x %x %x %x %x %x .. %x %x %x %x %x %x %x %x]"
,
app_trace_membufs_proto.c:103
esp_apptrace_membufs_swap()
ESP_APPTRACE_LOGE
(
"Failed to write %"
PRIu32
" bytes to down buffer (%"
PRIu16
" %"
PRIu32
")!"
,
hdr
->
block_sz
-
sz
,
hdr
->
block_sz
,
sz
)
;
app_trace_membufs_proto.c:112
esp_apptrace_membufs_swap()
ESP_APPTRACE_LOGD
(
"force flush"
)
;
app_trace_membufs_proto.c:171
esp_apptrace_membufs_down_buffer_get()
ESP_APPTRACE_LOGE
(
"Failed to switch to another block to recv data from host!"
)
;
app_trace_membufs_proto.c:174
esp_apptrace_membufs_down_buffer_get()
ESP_APPTRACE_LOGD
(
"esp_apptrace_trax_down_buffer_write_nolock WRS %"
PRIu32
"-%"
PRIu32
"-%"
PRIu32
" %"
PRIu32
,
proto
->
rb_down
.
wr
,
proto
->
rb_down
.
rd
,
app_trace_membufs_proto.c:199
esp_apptrace_membufs_down_buffer_write_nolock()
ESP_APPTRACE_LOGD
(
"esp_apptrace_trax_down_buffer_write_nolock wr %"
PRIu32
,
wr_sz
)
;
app_trace_membufs_proto.c:209
esp_apptrace_membufs_down_buffer_write_nolock()
ESP_APPTRACE_LOGD
(
"esp_apptrace_trax_down_buffer_write_nolock wr %"
PRIu32
" to %p from %p"
,
wr_sz
,
ptr
,
data
+
total_sz
+
wr_sz
)
;
app_trace_membufs_proto.c:214
esp_apptrace_membufs_down_buffer_write_nolock()
ESP_APPTRACE_LOGD
(
"esp_apptrace_trax_down_buffer_write_nolock wr %"
PRIu32
"/%"
PRIu32
""
,
wr_sz
,
total_sz
)
;
app_trace_membufs_proto.c:217
esp_apptrace_membufs_down_buffer_write_nolock()
ESP_APPTRACE_LOGE
(
"Too large user data size %"
PRIu32
"!"
,
size
)
;
app_trace_membufs_proto.c:281
esp_apptrace_membufs_up_buffer_get()
ESP_APPTRACE_LOGD
(
" full. Get %"
PRIu32
" bytes from pend buffer"
,
size
)
;
app_trace_membufs_proto.c:316
esp_apptrace_membufs_up_buffer_get()
ESP_APPTRACE_LOGD
(
"Got %"
PRIu32
" bytes from block"
,
size
)
;
app_trace_membufs_proto.c:319
esp_apptrace_membufs_up_buffer_get()
ESP_APPTRACE_LOGD
(
"Get %"
PRIu32
" bytes from buffer"
,
size
)
;
app_trace_membufs_proto.c:325
esp_apptrace_membufs_up_buffer_get()
ESP_APPTRACE_LOGI
(
"Ignore flush request for min %"
PRIu32
" bytes. Bytes in block: %"
PRIu32
,
min_sz
,
ESP_APPTRACE_INBLOCK_MARKER
(
proto
)
)
;
app_trace_membufs_proto.c:355
esp_apptrace_membufs_flush_nolock()
ESP_APPTRACE_LOGD
(
"Try to flush %"
PRIu32
" bytes. Wait until block switch for %"
PRIi64
" us"
,
ESP_APPTRACE_INBLOCK_MARKER
(
proto
)
,
tmo
->
tmo
)
;
app_trace_membufs_proto.c:360
esp_apptrace_membufs_flush_nolock()
ESP_APPTRACE_LOGW
(
"Failed to switch to another block in %lld us!"
,
tmo
->
tmo
)
;
app_trace_membufs_proto.c:364
esp_apptrace_membufs_flush_nolock()
ESP_APPTRACE_LOGE
(
"Failed to switch to another block in %lld us!"
,
tmo
->
tmo
)
;
app_trace_membufs_proto.c:366
esp_apptrace_membufs_flush_nolock()
ESP_APPTRACE_LOGI
(
"Initialized TRAX on CPU%d"
,
esp_cpu_get_core_id
(
)
)
;
port.c:275
esp_apptrace_trax_hw_init()
ESP_APPTRACE_LOGE
(
"Failed to init membufs proto (%d)!"
,
res
)
;
port.c:330
esp_apptrace_trax_init()
ESP_APPTRACE_LOGD
(
"HC[%d]: Can not switch %"
PRIx32
" %"
PRIu32
" %"
PRIx32
" %"
PRIx32
"/%"
PRIx32
,
esp_cpu_get_core_id
(
)
,
ctrl_reg
,
host_to_read
,
acked_block
,
port.c:501
esp_apptrace_trax_buffer_swap_start()
Call Tree
from
examples
esp_apptrace_log_lock()
is called by 20 functions:
esp_apptrace_init()
esp_apptrace_down_buffer_config()
esp_apptrace_down_buffer_get()
esp_apptrace_down_buffer_put()
esp_apptrace_read()
esp_apptrace_buffer_get()
esp_apptrace_buffer_put()
esp_apptrace_write()
esp_apptrace_vprintf_to()
esp_apptrace_flush_nolock()
esp_apptrace_flush()
esp_apptrace_host_is_connected()
esp_apptrace_membufs_swap()
esp_apptrace_membufs_down_buffer_get()
esp_apptrace_membufs_down_buffer_write_nolock()
esp_apptrace_membufs_up_buffer_get()
esp_apptrace_membufs_flush_nolock()
esp_apptrace_trax_hw_init()
esp_apptrace_trax_init()
esp_apptrace_trax_buffer_swap_start()
All items filtered out
esp_apptrace_log_lock()
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out