random: add tracepoints for easier debugging and verification