5 #include <linux/bitmap.h> 6 #include <linux/compiler.h> 7 #include <linux/perf_event.h> 18 #define PERF_PMU_FORMAT_BITS 64 20 struct perf_event_attr;
44 #define UNIT_MAX_LEN 31 52 struct list_head terms;
64 struct list_head *head_terms,
67 struct perf_event_attr *
attr,
68 struct list_head *head_terms,
74 struct list_head *head_terms);
79 int config,
unsigned long *bits);
struct pmu_events_map * perf_pmu__find_map(struct perf_pmu *pmu)
int perf_pmu__format_parse(char *dir, struct list_head *head)
bool pmu_have_event(const char *pname, const char *name)
void print_pmu_events(const char *event_glob, bool name_only, bool quiet, bool long_desc, bool details_flag)
int(* set_drv_config)(struct perf_evsel_config_term *term)
int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr, struct list_head *head_terms, struct parse_events_error *error)
void perf_pmu__set_format(unsigned long *bits, long from, long to)
int perf_pmu__config_terms(struct list_head *formats, struct perf_event_attr *attr, struct list_head *head_terms, bool zero, struct parse_events_error *error)
static int term(yyscan_t scanner, int type)
struct perf_event_attr * default_config
struct perf_pmu * perf_pmu__find(const char *name)
struct perf_event_attr * perf_pmu__get_default_config(struct perf_pmu *pmu)
int perf_pmu__new_format(struct list_head *list, char *name, int config, unsigned long *bits)
__u64 perf_pmu__format_bits(struct list_head *formats, const char *name)
struct perf_pmu * perf_pmu__scan(struct perf_pmu *pmu)
int int perf_pmu__test(void)
void perf_pmu_error(struct list_head *list, char *name, char const *msg)
struct list_head * perf_pmu__alias(struct perf_pmu *pmu, struct list_head *head_terms)
int perf_pmu__scan_file(struct perf_pmu *pmu, const char *name, const char *fmt,...) __scanf(3
int perf_pmu__check_alias(struct perf_pmu *pmu, struct list_head *head_terms, struct perf_pmu_info *info)