pmaundeltaindom(3) — Linux manual page

NAME | C SYNOPSIS | CAVEAT | DESCRIPTION | DIAGNOSTICS AND RETURN VALUES | SEE ALSO | COLOPHON

PMAUNDELTAINDOM(3)      Library Functions Manual      PMAUNDELTAINDOM(3)

NAME         top

       pmaUndeltaInDom - find ``full'' instance domain matching a
       ``delta'' instance domain

C SYNOPSIS         top

       #include <pcp/pmapi.h>
       #include <pcp/libpcp.h>
       #include <pcp/archive.h>

       __pmLogInDom *pmaUndeltaInDom(__pmLogCtl *lcp, __int32_t *buf);

       cc ... -lpcp_archive -lpcp

CAVEAT         top

       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.

DESCRIPTION         top

       Find the loaded ``full'' instance domain that matches a ``delta''
       instance domain.

       The caller ensures the physical metadata record for the ``delta''
       instance domain has been read into buf.  The associated archive
       control structure is identified by lcp, which implies the input
       archive has also been opened with pmNewContext(3).

       pmaUndeltaInDom starts by extracting the timestamp and the
       instance domain number for the ``delta'' instance domain from
       buf.  With this information, __pmLogSearchInDom(3) is called to
       find the matching loaded instance domain, which will have been
       converted from a ``delta'' instance domain to a ``full'' instance
       domain in the process.

       pmaUndeltaInDom is most useful for applications that read
       physical metadata records and need to operate on ``full''
       instance domains, rather than the ``delta'' instance domains that
       occur in Version 3 archives.

DIAGNOSTICS AND RETURN VALUES         top

       Lots of warning babble if the matching loaded instance domain
       cannot be found, and the return value is NULL in this case.

SEE ALSO         top

       PMAPI(3),

COLOPHON         top

       This page is part of the PCP (Performance Co-Pilot) project.
       Information about the project can be found at 
       ⟨http://www.pcp.io/⟩.  If you have a bug report for this manual
       page, send it to pcp@groups.io.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/performancecopilot/pcp.git⟩ on 2024-06-14.
       (At that time, the date of the most recent commit that was found
       in the repository was 2024-06-14.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

Performance Co-Pilot               PCP                PMAUNDELTAINDOM(3)

Pages that refer to this page: pmatrydeltaindom(3)