Extracting threaded traces in simulation environments

Weixing Ji, Yi Liu, Yuanhong Huo, Yizhuo Wang, Feng Shi

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Citation (Scopus)

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.

Original languageEnglish
Title of host publicationNetwork and Parallel Computing - 10th IFIP International Conference, NPC 2013, Proceedings
Pages27-38
Number of pages12
DOIs
Publication statusPublished - 2013
Event10th IFIP International Conference on Network and Parallel Computing, NPC 2013 - Guiyang, China
Duration: 19 Sept 201321 Sept 2013

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume8147 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference10th IFIP International Conference on Network and Parallel Computing, NPC 2013
Country/TerritoryChina
CityGuiyang
Period19/09/1321/09/13

Keywords

  • full system simulation
  • multi-core processor
  • program trace

Fingerprint

Dive into the research topics of 'Extracting threaded traces in simulation environments'. Together they form a unique fingerprint.

Cite this