Automatic Low Overhead Program Instrumentation with the LOPI Framework

  • Authors:
  • Simon Kagstrom;Hakan Grahn;Lars Lundberg

  • Affiliations:
  • Blekinge Institute of Technology, Sweden;Blekinge Institute of Technology, Sweden;Blekinge Institute of Technology, Sweden

  • Venue:
  • INTERACT '05 Proceedings of the 9th Annual Workshop on Interaction between Compilers and Computer Architectures
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Program instrumentation is an important technique for a different tasks such as performance measurements, debugging, and coverage analysis. Instrumentation, however, poses two important requirements to be useful: it must be easy to apply and it should perturb the application as little as possible. In this paper, we present the LOPI framework which provides a simple means to automatically instrument binary files with low perturbation. An evaluation of the LOPI framework with detailed measurements of seven SPEC CPU2000 benchmarks show that the it gives lower perturbation in terms of instructions executed and cache behavior than Dyninst. For example, a LOPI instrumented application executes on average 36% more instructions, while a Dyninst instrumented application executes 49% more instructions for a common performance-oriented instrumentation, than the uninstrumented application.