This function returns a string which describes the libpfm error value
in code. The string returned by the call is read-only.
The function must only be used with libpfm calls documented to return
specific error codes. The value -1 is not considered a specific error
code. Strings and pfm_pmu_t return values cannot be used with this
function. Typically NULL is returned in case of error for string
values, and PFM_PMU_NONE is returned for pfm_pmu_t values.
The function is also not designed to handle OS system call errors,
i.e., errno values.
This page is part of the perfmon2 (a performance monitoring library)
project. Information about the project can be found at
⟨http://perfmon2.sourceforge.net/⟩. If you have a bug report for this
manual page, send it to firstname.lastname@example.org. This
page was obtained from the project's upstream Git repository
⟨git://git.code.sf.net/p/perfmon2/libpfm4⟩ 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)