Cache trace scaffolding