TY - GEN
T1 - Extracting threaded traces in simulation environments
AU - Ji, Weixing
AU - Liu, Yi
AU - Huo, Yuanhong
AU - Wang, Yizhuo
AU - Shi, Feng
PY - 2013
Y1 - 2013
N2 - Instruction traces play an important role in analyzing and understanding the behavior of target applications; however, existing tracing tools are built on specific platforms coupled with excessive reliance on compilers and operating systems. In this paper, we propose a precise thread level instruction tracing approach for modern chip multi-processor simulators, which inserts instruction patterns into programs at the beginning of main thread and slave threads. The target threads are identified and captured in a full system simulator using the instruction patterns without any modifications to the compiler and the operating system. We implemented our approach in the GEM5 simulator and evaluations were performed to test the accuracy on x86-Linux using standard benchmarks. We compared our traces to the ones collected by a Pin-tool. Experimental results show that traces extracted by our approach exhibit high similarity to the traces collected by the Pin-tool. Our approaches of extracting traces can be easily applied to other simulators with minor modification to the instruction execution engines.
AB - Instruction traces play an important role in analyzing and understanding the behavior of target applications; however, existing tracing tools are built on specific platforms coupled with excessive reliance on compilers and operating systems. In this paper, we propose a precise thread level instruction tracing approach for modern chip multi-processor simulators, which inserts instruction patterns into programs at the beginning of main thread and slave threads. The target threads are identified and captured in a full system simulator using the instruction patterns without any modifications to the compiler and the operating system. We implemented our approach in the GEM5 simulator and evaluations were performed to test the accuracy on x86-Linux using standard benchmarks. We compared our traces to the ones collected by a Pin-tool. Experimental results show that traces extracted by our approach exhibit high similarity to the traces collected by the Pin-tool. Our approaches of extracting traces can be easily applied to other simulators with minor modification to the instruction execution engines.
KW - full system simulation
KW - multi-core processor
KW - program trace
UR - http://www.scopus.com/inward/record.url?scp=84893050804&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-40820-5_3
DO - 10.1007/978-3-642-40820-5_3
M3 - Conference contribution
AN - SCOPUS:84893050804
SN - 9783642408199
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 27
EP - 38
BT - Network and Parallel Computing - 10th IFIP International Conference, NPC 2013, Proceedings
T2 - 10th IFIP International Conference on Network and Parallel Computing, NPC 2013
Y2 - 19 September 2013 through 21 September 2013
ER -