QEMU CPU Tracer – an exact profiling tool
Sławomir Grzegorz Chyłek
AbstractThis 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.
|Journal series||Metody Informatyki Stosowanej, ISSN 1898-5297|
|Keywords in English||system emulation, profiling, fault injection|
|Citation count*||1 (2015-03-25)|
* presented citation count is obtained through Internet information analysis and it is close to the number calculated by the Publish or Perish system.