SYNOPSIS

Generic API:

API to handle CPU maps:

API to handle thread maps:

API to handle event lists:

API to handle events:

API to handle maps (perf ring buffers):

Structures to access perf API events:

DESCRIPTION

The libperf library provides an API to access the linux kernel perf events subsystem.

Following objects are key to the libperf interface:

struct perf_cpu_map

Provides a CPU list abstraction.

struct perf_thread_map

Provides a thread list abstraction.

struct perf_evsel

Provides an abstraction for single a perf event.

struct perf_evlist

Gathers several struct perf_evsel object and performs functions on all of them.

struct perf_mmap

Provides an abstraction for accessing perf ring buffer.

The exported API functions bind these objects together.

REPORTING BUGS

LICENSE

libperf is Free Software licensed under the GNU LGPL 2.1

RESOURCES

SEE ALSO

libperf-sampling(7), libperf-counting(7)