Description
Is your enhancement proposal related to a problem? Please describe.
When tracing a zephyr based application with SEGGER SystemView, some events do not occur in timeline (e.g. getting from a message queue), although they are happening.
Describe the solution you'd like
I suggest to add missing sysview record calls in tracing_sysview.h
that are still missing i.e.
k_thread_sched_lock
/k_thread_sched_unlock
k_poll_api
k_stack
k_msgq
k_mbox
k_pipe
k_heap
so all events defined inSYSVIEW_Zephyr.txt
are actually traced.
Describe alternatives you've considered
Living without the the trace information and use patch files.
Additional context
Since I'm pretty new to zephyr I'm not entirely sure if there are any special reasons, that those kernel objects are not traced. I added the record function locally and tested it with an nrf52840 and it worked perfectly. But maybe there are any concerns regarding other contexts, so I'm curious about other assessments.
Found following tickets regarding this topic but not solving my problem: