Chapter 6. Extended Feature Interface

Table of Contents

1. Introduction
2. Feature Name and Handlers
3. Enabling Features
4. Type of Handlers
4.1. ext_init Handler
4.2. ext_print_stats Handler
4.3. ext_sfile Handler
5. Extended Feature Reference Implementation
5.1. Instruction-Based Sampling (IBS)

1. Introduction

The Extended Feature Interface is a standard callback interface designed to allow extension to the OProfile daemon's sample processing. Each feature defines a set of callback handlers which can be enabled or disabled through the OProfile daemon's command-line option. This interface can be used to implement support for architecture-specific features or features not commonly used by general OProfile users.