__pmFreeProfile(3)

__pmFreeProfile3

Free a pmapi instance profile

C synopsis

#include "pmapi.h"
#include "libpcp.h"

void __pmFreeProfile(pmProfile *prof);

cc ... -lpcp

Caveat

This documentation is intended for internal Performance Co-Pilot (PCP) developer use.

These interfaces are not part of the PCP APIs that are guaranteed to remain fixed across releases, and they may not work, or may provide different semantics at some point in the future.

Overview

__pmFreeProfile frees the storage for the PMAPI instance profile prof, assuming the storage was allocated using malloc(3) according to the scheme used in __pmDecodeProfile(3).

Releases

8 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0
  3. 8
  4. 10
  5. 11–13
  6. Arch

From pcp 7.2.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.