scispace - formally typeset
Journal ArticleDOI

An API for Runtime Code Patching

Reads0
Chats0
TLDR
The authors present a postcompiler program manipulation tool called Dyninst, which provides a C++ class library for program instrumentation that permits machine-independent binary instrumentation programs to be written.
Abstract
The authors present a postcompiler program manipulation tool called Dyninst, which provides a C++ class library for program instrumentation. Using this library, it is possible to instrument and modify application programs during execution. A unique feature of this library is that it permits machine-independent binary instrumentation programs to be written. The authors describe the interface that a tool sees when using this library. They also discuss three simple tools built using this interface: a utility to count the number of times a function is called, a program to capture the output of an already running program to a file, and an implementation of conditional breakpoints. For the conditional breakpoint example, the authors show that by using their interface compared with gdb, they are able to execute a program with conditional breakpoints up to 900 times faster.

read more

Content maybe subject to copyright    Report

Citations
More filters
Proceedings ArticleDOI

A fine-grained component-level power measurement method

TL;DR: A direct measurement method to measure the power of main computer components with fine time granularity with the aim of improving energy efficiency and synchronizing power dissipation with program phases is presented.
Proceedings ArticleDOI

Autonomous analysis of interactive systems with self-propelled instrumentation

TL;DR: A tool called spTracer is implemented that uses self-propelled instrumentation to obtain function-level traces from applications and the kernel and enabled us to locate and fix three problems in unfamiliar code in the Linux environment.
Proceedings ArticleDOI

Using Dynamic Tracing Sampling to Measure Long Running Programs

TL;DR: This paper presents a technique to use dynamic sampling of trace snippets throughout an application’s execution and demonstrates that this approach improves accuracy compared to sampling a few timesteps at the beginning of execution by judiciously choosing the frequency.

Code cache management in dynamic optimization systems

TL;DR: This dissertation investigates the code cache management problem in dynamic optimization systems and presents three major advances that cover the design space of cache management decisions, and presents a pseudo-circular FIFO algorithm, which handles the problem of un-deletable cache blocks.
Book ChapterDOI

MATE: Dynamic Performance Tuning Environment

TL;DR: The dynamic tuning approach that addresses the dynamic tuning issues of parallel/distributed applications and an environment called MATE (Monitoring, Analysis and Tuning Environment), which provides dynamic tuning of applications.
References
More filters
Proceedings ArticleDOI

ATOM: a system for building customized program analysis tools

TL;DR: ATOM as mentioned in this paper is a single framework for building a wide range of customized program analysis tools, including block counting, profiling, dynamic memory recording, instruction and data cache simulation, pipeline simulation, evaluating branch prediction, and instruction scheduling.
Journal ArticleDOI

The Paradyn parallel performance measurement tool

TL;DR: Dynamic instrumentation lets us defer insertion until the moment it is needed (and remove it when it is no longer needed); Paradyn's Performance Consultant decides when and where to insert instrumentation.
Proceedings ArticleDOI

EEL: machine-independent executable editing

TL;DR: EEL supports a machine- and system-independent editing model that enables tool builders to modify an executable without being aware of the details of the underlying architecture or operating system or being concerned with the consequences of deleting instructions or adding foreign code.
Proceedings Article

Instrumentation and optimization of Win32/intel executables using Etch

TL;DR: Etch is a general-purpose tool for rewriting arbitrary Win32/x86 binaries without requiring source code and some of the tools that are built using it are described, including a hierarchical call graph profiler and an instruction layout optimization tool.
Proceedings ArticleDOI

Dynamic program instrumentation for scalable performance tools

TL;DR: This work presents a new technique called 'dynamic instrumentation' that provides efficient, scalable, yet detailed data collection for large-scale parallel applications and includes recommendations to operating system designers, compiler writers, and computer architects about the features necessary to permit efficient monitoring of large- scale parallel systems.
Related Papers (5)