Program Instrumentation for Debugging and Monitoring with AspectC++

نویسندگان

  • Daniel Mahrenholz
  • Olaf Spinczyk
  • Wolfgang Schröder-Preikschat
چکیده

Monitoring is a widely-used technique to check assumptions about the real-time behavior of a system, debug the code, or enforce the system to react if certain deadlines are passed. Program instrumentation is needed to insert monitoring code fragments into the monitored system if the monitor is implemented without hardware support. This paper describes a language-based approach to automated program instrumentation using the general purpose aspect language AspectC++. The language is an extension to the C/C++ programming language. It provides language features that allow a highly modular and thus easily configurable implementation of monitoring tasks and supports re-use of common implementations. Even though the AspectC++ language provides a convenient level of abstraction no overhead is imposed on the system in comparison to pure C/C++ code.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Aspect-Oriented Monitoring of C Programs

The paper presents current work on extending ASPECTC with state machines, resulting in a framework for aspect-oriented monitoring of C programs. Such a framework can be used for testing purposes, or it can be part of a fault protection strategy. The long term goal is to explore the synergy between the fields of runtime verification, focused on program monitoring, and aspect-oriented programming...

متن کامل

Developing Monitoring and Debugging Tools for the Ap1000 Array Multiprocessor

The LERP project aims to assist the ap1000 programmer with essential monitoring and debugging tools. LERP is based on oo-line analysis and replay of an event trace. A common event trace format includes both low level system events and user-deened events. In this paper we address the issues of instrumentation of ap1000 programs with minimal interference, and presentation of traced program behavi...

متن کامل

LIS is More: Improved Diagnostic Logging in Sensor Networks with Log Instrumentation Specifications

Detailed diagnostic data is a prerequisite for debugging problems and understanding runtime performance in distributed embedded wireless systems. Severe bandwidth limitations, tight timing constraints, and limited program text space hinder the application of standard diagnostic tools within this domain. Our work introduces the Log Instrumentation Specification (LIS) that drives insertion of low...

متن کامل

A Run-Time Performance Monitor for Message-Passing Parallel Programs

A fundamental problem with parallel program monitoring tools is the intrusiveness introduced by instrumenting a monitor into the original program for collecting trace data. An intrusive monitor may alter the order of program events and distort the timing information. This may result in a change in the probability of making particular non-deterministic choices, and thus change the program behavi...

متن کامل

Monitoring PVM Programs Using the DAMS Approach

Monitoring tools are fundamental components of a development environment as they provide basic support for performance evaluation, debugging, and program visualization. We describe our experiments with several monitoring tools for PVM, namely XPVM, developed at ORNL, Tape/PVM, developed at IMAG Lab, and DAMS, developed at UNL. These tools are compared and their use is described to support instr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002