pfm_terminate(3)

pfm_terminate3

Free resources used by library

Usage

#include <perfmon/pfmlib.h>

int pfm_terminate(void);

Overview

This is the last function that a program must call to free all the resources allocated by the library, e.g., memory. The function is not reentrant, caller must ensure only one thread at a time is executing it.

Return

There is no return value to this function

Releases

Unchanged in 7 releases since Debian 8 (Jessie).

  1. 8–Arch

Author

Stephane Eranian <[email protected]>

From libpfm 4.14.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.