Click here for full text:
The perfmon2 interface specification
Eranian, Stephane
HPL-2004-200R1
Keyword(s): Performance Monitoring Unit; PMU; performance tools; hardware counters; IPF; IA-64 Linux; perfmon kernel interface
Abstract: Monitoring program execution is becoming key to achieving world class performance. All modern processors implement a sophisticated set of hardware performance counters to collect a lot of micro-architectural events which are important clues for software optimizations. Yet there is no standardized interface to access those counters which makes developing portable performance tools challenging. We have designed a powerful monitoring interface to access the performance counters present on all modern processors. The interface is generic and does not compromise access to processor specific features. It enables a diversity of tools to be developed or ported. In particular tools can collect simple counts or profiles on a per-thread or system-wide basis. The interface introduces several innovations such as customizable kernel-level sampling buffer for mats, time and overflow-based event set multiplexing. An implementation exists for Linux 2.6 kernel for the Itanium Processor Family (IPF). Several open-source and commercial tools based on interface are available from HP and others. This document presents version 0.6 of the full specification of the interface of the full specification of the interfaces.
121 Pages
Back to Index
|