QEMU CPU Tracer – an exact profiling tool

Sławomir Grzegorz Chyłek


This paper presents a novel approach to collect and analyse information regarding code executed by the computer’s processor. The motivation for this work is driven by the need to precisely answer the question which instructions are actually executed by the processor. Profiling tools and debugging tools can provide the answer for user space programs, although there is no tool that supports profiling both the user and the kernel space code without affecting the software under test. The basis of this work is the QEMU computer system emulator. It was utilized to develop a tool called QEMU CPU Tracer (QCT). The tool fulfils a requirement of exact code profiling, has acceptable performance and can also be utilized as a debugging utility thanks to the ability of tracking the execution of user space applications. In the paper a detailed description of QCT architecture is followed by a presentation of results of conducted experiments, a comparison to other similar solutions and a discussion over further research possibilities.
Author Sławomir Grzegorz Chyłek II
Sławomir Grzegorz Chyłek,,
- The Institute of Computer Science
Journal seriesMetody Informatyki Stosowanej, ISSN 1898-5297
Issue year2011
Keywords in Englishsystem emulation, profiling, fault injection
URL http://www.pan.wi.zut.edu.pl/index.php/mis
Languageen angielski
Score (nominal)4
Citation count*1 (2015-03-25)
Share Share

Get link to the record

* presented citation count is obtained through Internet information analysis and it is close to the number calculated by the Publish or Perish system.