24. Gulaschprogrammiernacht

Tracing RISC-V systems using E-Trace tooling
06.06.2026 , HfG Workshopraum 115
Sprache: English

=== Reservierung nötig / Reservation needed: https://pretix.entropia.de/entropia/gpn24-workshops/ ===

When developing for/debugging embedded hardware, you sometimes need to know what's going on. But using a debugger may not be an option when the behavior you want to observe involves timing-critical code paths such as interrupt handling or bit-banging some arcane protocol. Hardware assisted tracing allows capturing this information and analyzing it offline, without halting or blocking the core.

The "Efficient Trace for RISC-V" (E-Trace) allows tracing programs on RISC-V hardware equipped with a compatible trace encoder. This workshop introduces general concepts and the infrastructure involved in traces, including open source tooling. You have the opportunity to work on traces provided as part of the workshop and capture your own.


This workshop will introduce basic concepts around tracing with "Efficient Trace for RISC-V" (E-Trace) as well as the infrastructure involved in capturing such traces. Participants will then get the opportunity to:
* capture traces of a program running on QEMU,
* inspect traces using rvet, an open source tool built upon riscv-etrace and
* receive help capturing traces from real hardware.

Participants will need a laptop capable of compiling, or at least running QEMU (with additional patches) as well as a Rust-program. No RISC-V hardware is required for participation.

Maintainer of rvet and riscv-etrace, researcher at FZI Forschungszentrum Informatik.