LIBPFM(3)                 Linux Programmer's Manual                LIBPFM(3)

NAME         top

       pfm_terminate - free resources used by library

SYNOPSIS         top

       #include <perfmon/pfmlib.h>

       int pfm_terminate(void);

DESCRIPTION         top

       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         top

       There is no return value to this function

AUTHOR         top

       Stephane Eranian <>

COLOPHON         top

       This page is part of the perfmon2 (a performance monitoring library)
       project.  Information about the project can be found at 
       ⟨⟩.  If you have a bug report for this
       manual page, send it to  This
       page was obtained from the project's upstream Git repository 
       ⟨git://⟩ on 2017-04-25.  If you dis‐
       cover 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

                               September, 2009                     LIBPFM(3)