Tracing framework for full system simulators