I kinda like how tracing framework in QEMU works.