45 #ifndef __PERFMON_UTIL_H__ 46 #define __PERFMON_UTIL_H__ 48 #include <linux/perf_event.h> int pfmu_isSupported(const char *eventname)
int pfmu_getEventType(const char *eventname, u64 *code, u64 *type)
int pfmu_getEventAttribute(const char *eventname, struct perf_event_attr *event_attr)