Operations | Monitoring | ITSM | DevOps | Cloud

Percepio

Efficiently Tracing Zephyr Syscalls

Using Tracealyzer to view applications running on Zephyr RTOS comes with a special challenge: unlike some other microcontroller-oriented real-time operating systems, Zephyr exposes its kernel services via a syscall layer. A syscall is essentially a way to programmatically communicate with the operating system kernel from user level code.

Tracealyzer 4.8 Is Out

Tracealyzer version 4.8 has just been released, with major optimizations and improvements for Zephyr RTOS, and support for 64-bit target processors (FreeRTOS, Zephyr and SafeRTOS only). In addition, the ESP32 support is upgraded to use the latest TraceRecorder library, supporting all recent versions of ESP-IDF up to v5.2 dev. Snapshot tracing is now primarily supported by the implementation for streaming mode, using the RingBuffer stream port.

Tracealyzer 4.8 is coming in June

Tracealyzer version 4.8 will be released in the first week of June, with major optimizations and improvements for Zephyr RTOS, and support for 64-bit target processors (FreeRTOS, Zephyr and SafeRTOS only). In addition, the ESP32 support is upgraded to use the latest TraceRecorder library, supporting all recent versions of ESP-IDF up to v5.2 dev. Snapshot tracing is now primarily supported by the implementation for streaming mode, using the RingBuffer stream port.

RTOS Tracing, your way

When debugging an RTOS-based system, tracing can often give a better understanding of the real-time behavior of your system. Percepio Tracealyzer supports two main types of RTOS tracing, snapshot and streaming, both offering the same powerful visualization although streaming allows for collecting longer traces. The Percepio trace recorder offers several options to allow developers to adjust the tracing setup to fit their target system and their analysis needs.

Tracealyzer On the Race Track - Calgary Solar Car

With only a week to go before the start of the 2022 American Solar Challenge (ASC), here’s a good luck shout out to the University of Calgary Solar Car team! Their race car, the Schulich Elysia, not only looks stunning, it also packs a powerful solar battery that can store up to 18 kWh of energy, enough to drive the car over 300 km when there’s no sunlight. Percepio is immensely proud that our Tracealyzer tool has been involved in perfecting this battery technology.

Running Tracealyzer 4 on Linux hosts

To run Tracealyzer 4 on Linux, the first thing you will need to install is Mono. For most distributions there’s a package called “mono-complete”, though some distributions and package systems may instead use simply “mono”. There may be additional requirements, in particular for Debian/Ubuntu and Fedora based systems. See below for distribution specific instructions. Mono version 5.14 (or newer) is required for Tracealyzer.