Tracing Zephyr applications with SEGGER SystemView

New addition to Zephyr is support for tracing hooks and system-wide support for frameworks and host tools using the tracing feature. Zephyr did have a sample demonstrating SystemView, however it was not available as a global feature and was limited to the sample application. It also required the system event logger feature which was limited in many ways.

The video below shows how to trace any application in Zephyr by just adding a configuration option to the application configuration file. Obviously it works only with boards that support SEGGER RTT and JLink, but should work over other interfaces, something we have not tested yet.

Using the same tracing hooks the plan is to support other tracing tools like Percepio Tracealyzer, Trace Compass and others.