---
name: "PAPI_component_info_t"
section: "3"
platform: "linux"
package: "libpapi-dev"
version: "7.1.0-5+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PAPI_component_info_t"
---

# PAPI\_component\_info\_t(3)

## NAME

PAPI\_component\_info\_t

## SYNOPSIS

### Data Fields

char **name** \[128\]\
 char **short\_name** \[64\]\
 char **description** \[128\]\
 char **version** \[64\]\
 char **support\_version** \[64\]\
 char **kernel\_version** \[64\]\
 char **disabled\_reason** \[1024\]\
 int **disabled**\
 int **initialized**\
 int **CmpIdx**\
 int **num\_cntrs**\
 int **num\_mpx\_cntrs**\
 int **num\_preset\_events**\
 int **num\_native\_events**\
 int **default\_domain**\
 int **available\_domains**\
 int **default\_granularity**\
 int **available\_granularities**\
 int **hardware\_intr\_sig**\
 int **component\_type**\
 char \* **pmu\_names** \[80\]\
 int **reserved** \[8\]\
 unsigned int **hardware\_intr**:1\
 unsigned int **precise\_intr**:1\
 unsigned int **posix1b\_timers**:1\
 unsigned int **kernel\_profile**:1\
 unsigned int **kernel\_multiplex**:1\
 unsigned int **fast\_counter\_read**:1\
 unsigned int **fast\_real\_timer**:1\
 unsigned int **fast\_virtual\_timer**:1\
 unsigned int **attach**:1\
 unsigned int **attach\_must\_ptrace**:1\
 unsigned int **cntr\_umasks**:1\
 unsigned int **cpu**:1\
 unsigned int **inherit**:1\
 unsigned int **reserved\_bits**:19\

## Field Documentation

### unsigned int PAPI\_component\_info\_t::attach

Supports attach

### unsigned int PAPI\_component\_info\_t::attach\_must\_ptrace

Attach must first ptrace and stop the thread/process

### int PAPI\_component\_info\_t::available\_domains

Available domains

### int PAPI\_component\_info\_t::available\_granularities

Available granularities

### int PAPI\_component\_info\_t::CmpIdx

Index into the vector array for this component; set at init time

### unsigned int PAPI\_component\_info\_t::cntr\_umasks

counters have unit masks

### int PAPI\_component\_info\_t::component\_type

Type of component

### unsigned int PAPI\_component\_info\_t::cpu

Supports specifying cpu number to use with event set

### int PAPI\_component\_info\_t::default\_domain

The default domain when this component is used

### int PAPI\_component\_info\_t::default\_granularity

The default granularity when this component is used

### char PAPI\_component\_info\_t::description\[128\]

Description of the component

### int PAPI\_component\_info\_t::disabled

0 if enabled, otherwise error code from initialization

### char PAPI\_component\_info\_t::disabled\_reason\[1024\]

Reason for failure of initialization

### unsigned int PAPI\_component\_info\_t::fast\_counter\_read

Supports a user level PMC read instruction

### unsigned int PAPI\_component\_info\_t::fast\_real\_timer

Supports a fast real timer

### unsigned int PAPI\_component\_info\_t::fast\_virtual\_timer

Supports a fast virtual timer

### unsigned int PAPI\_component\_info\_t::hardware\_intr

hw overflow intr, does not need to be emulated in software

### int PAPI\_component\_info\_t::hardware\_intr\_sig

Signal used by hardware to deliver PMC events

### unsigned int PAPI\_component\_info\_t::inherit

Supports child processes inheriting parents counters

### int PAPI\_component\_info\_t::initialized

Component is ready to use

### unsigned int PAPI\_component\_info\_t::kernel\_multiplex

In kernel multiplexing

### unsigned int PAPI\_component\_info\_t::kernel\_profile

Has kernel profiling support (buffered interrupts or sprofil-like)

### char PAPI\_component\_info\_t::kernel\_version\[64\]

Version of the kernel PMC support driver

### char PAPI\_component\_info\_t::name\[128\]

Name of the component we're using

### int PAPI\_component\_info\_t::num\_cntrs

Number of hardware counters the component supports

### int PAPI\_component\_info\_t::num\_mpx\_cntrs

Number of hardware counters the component or PAPI can multiplex supports

### int PAPI\_component\_info\_t::num\_native\_events

Number of native events the component supports

### int PAPI\_component\_info\_t::num\_preset\_events

Number of preset events the component supports

### char\* PAPI\_component\_info\_t::pmu\_names\[80\]

list of pmu names supported by this component

### unsigned int PAPI\_component\_info\_t::posix1b\_timers

Using POSIX 1b interval timers (timer\_create) instead of setitimer

### unsigned int PAPI\_component\_info\_t::precise\_intr

Performance interrupts happen precisely

### char PAPI\_component\_info\_t::short\_name\[64\]

Short name of component, to be prepended to event names

### char PAPI\_component\_info\_t::support\_version\[64\]

Version of the support library

### char PAPI\_component\_info\_t::version\[64\]

Version of this component

## Author

Generated automatically by Doxygen for PAPI from the source code.
