Query: pfm_strerror
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LIBPFM(3) Linux Programmer's Manual LIBPFM(3)NAMEpfm_strerror - return constant string describing error codeSYNOPSIS#include <perfmon/pfmlib.h> const char *pfm_strerror(int code);DESCRIPTIONThis 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 val- ues, 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.RETURNThe function returns a pointer to the constant string describing the error code. The string is in English. If code is invalid then a default error message is returned.ERRORSIf the error code is invalid, then the function returns a pointer to a string which says "unknown error code".AUTHORStephane Eranian <eranian@gmail.com> September, 2009 LIBPFM(3)
Related Man Pages |
---|
libpfm_amd64_fam10h(3) - centos |
libpfm_intel_core(3) - centos |
libpfm_intel_ivb_unc(3) - centos |
libpfm_intel_p6(3) - centos |
pfm_get_event_info(3) - centos |
Similar Topics in the Unix Linux Community |
---|
How to increment version inside a file? |
DB2 convert digits to binary format |
Tar Command |
Docker learning Phase-I |
[TIP] Processing YAML files with yq |