A Generic and Configurable Source-Code Instrumentation Component

  • Markus Geimer
  • Sameer S. Shende
  • Allen D. Malony
  • Felix Wolf
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5545)

Abstract

A common prerequisite for a number of debugging and performance-analysis techniques is the injection of auxiliary program code into the application under investigation, a process called instrumentation. To accomplish this task, source-code preprocessors are often used. Unfortunately, existing preprocessing tools either focus only on a very specific aspect or use hard-coded commands for instrumentation. In this paper, we examine which basic constructs are required to specify a user-defined routine entry/exit instrumentation. This analysis serves as a basis for a generic instrumentation component working on the source-code level where the instructions to be inserted can be flexibly configured. We evaluate the identified constructs with our prototypical implementation and show that these are sufficient to fulfill the needs of a number of todays’ performance-analysis tools.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2009

Authors and Affiliations

  • Markus Geimer
    • 1
  • Sameer S. Shende
    • 2
  • Allen D. Malony
    • 2
  • Felix Wolf
    • 1
    • 3
  1. 1.Jülich Supercomputing CentreForschungszentrum JülichGermany
  2. 2.Department of Computer and Information ScienceUniversity of OregonEugeneUSA
  3. 3.Department of Computer ScienceRWTH Aachen UniversityGermany

Personalised recommendations