
Barectf is a command-line utility which generates C99 code that is able to write native Common Trace Format (CTF) binary streams. The target audience is developers who need to trace bare metal systems (without an operating system). The code produced is pure C99 and can be lightweight enough to fit on a tiny microcontroller.