Skip to Main content Skip to Navigation
Conference papers

Extracting Threaded Traces in Simulation Environments

Abstract : 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.
Document type :
Conference papers
Complete list of metadatas

Cited literature [12 references]  Display  Hide  Download

https://hal.inria.fr/hal-01513764
Contributor : Hal Ifip <>
Submitted on : Tuesday, April 25, 2017 - 2:33:31 PM
Last modification on : Thursday, January 9, 2020 - 4:04:02 PM
Long-term archiving on: : Wednesday, July 26, 2017 - 2:05:56 PM

File

978-3-642-40820-5_3_Chapter.pd...
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

Weixing Ji, Yi Liu, Yuanhong Huo, Yizhuo Wang, Feng Shi. Extracting Threaded Traces in Simulation Environments. 10th International Conference on Network and Parallel Computing (NPC), Sep 2013, Guiyang, China. pp.27-38, ⟨10.1007/978-3-642-40820-5_3⟩. ⟨hal-01513764⟩

Share

Metrics

Record views

90

Files downloads

395