---
name: "pmdaProfile"
section: "3"
platform: "linux"
package: "pcp"
version: "7.2.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pmdaProfile"
---

# pmdaProfile(3)

update instance profile for PMDA in preparation for the next fetch from PMCD

## NAME

**pmdaProfile** - update instance profile for PMDA in preparation for the next fetch from PMCD

## C SYNOPSIS

**#include \<pcp/pmapi.h\>**\
 **#include \<pcp/pmda.h\>**

**int pmdaProfile(pmProfile \****prof***, pmdaExt \****pmda***);**

**cc ... -lpcp\_pmda -lpcp**

## DESCRIPTION

As part of the Performance Metrics Domain Agent (PMDA) API (see [**PMDA**(3)](/PMDA/3.md)), **pmdaProfile** is the default callback which handles the receipt of a **pmProfile** from [**pmcd**(1)](/pmcd/1.md). A profile describes the instances that **pmcd** requires in the **pmResult** structure returned by the next fetch. **pmdaProfile** simply stores the new profile.

## CAVEAT

The PMDA must be using **PMDA\_INTERFACE\_2** or later, as specified in the call to [**pmdaDSO**(3)](/pmdaDSO/3.md) or [**pmdaDaemon**(3)](/pmdaDaemon/3.md).

## SEE ALSO

[**PMAPI**(3)](/PMAPI/3.md), [**PMDA**(3)](/PMDA/3.md), [**pmdaDaemon**(3)](/pmdaDaemon/3.md), [**pmdaDSO**(3)](/pmdaDSO/3.md) and [**pmdaFetch**(3)](/pmdaFetch/3.md).
