|
int | perf_pmu_parse (struct list_head *list, char *name) |
|
static | LIST_HEAD (pmus) |
|
int | perf_pmu__format_parse (char *dir, struct list_head *head) |
|
static int | pmu_format (const char *name, struct list_head *format) |
|
static int | convert_scale (const char *scale, char **end, double *sval) |
|
static int | perf_pmu__parse_scale (struct perf_pmu_alias *alias, char *dir, char *name) |
|
static int | perf_pmu__parse_unit (struct perf_pmu_alias *alias, char *dir, char *name) |
|
static int | perf_pmu__parse_per_pkg (struct perf_pmu_alias *alias, char *dir, char *name) |
|
static int | perf_pmu__parse_snapshot (struct perf_pmu_alias *alias, char *dir, char *name) |
|
static int | __perf_pmu__new_alias (struct list_head *list, char *dir, char *name, char *desc, char *val, char *long_desc, char *topic, char *unit, char *perpkg, char *metric_expr, char *metric_name) |
|
static int | perf_pmu__new_alias (struct list_head *list, char *dir, char *name, FILE *file) |
|
static bool | pmu_alias_info_file (char *name) |
|
static int | pmu_aliases_parse (char *dir, struct list_head *head) |
|
static int | pmu_aliases (const char *name, struct list_head *head) |
|
static int | pmu_alias_terms (struct perf_pmu_alias *alias, struct list_head *terms) |
|
static int | pmu_type (const char *name, __u32 *type) |
|
static void | pmu_read_sysfs (void) |
|
static struct cpu_map * | __pmu_cpumask (const char *path) |
|
static struct cpu_map * | pmu_cpumask (const char *name) |
|
static bool | pmu_is_uncore (const char *name) |
|
static int | is_arm_pmu_core (const char *name) |
|
char *__weak | get_cpuid_str (struct perf_pmu *pmu __maybe_unused) |
|
int | strcmp_cpuid_str (const char *mapcpuid, const char *cpuid) |
|
static char * | perf_pmu__getcpuid (struct perf_pmu *pmu) |
|
struct pmu_events_map * | perf_pmu__find_map (struct perf_pmu *pmu) |
|
static void | pmu_add_cpu_aliases (struct list_head *head, struct perf_pmu *pmu) |
|
struct perf_event_attr *__weak | perf_pmu__get_default_config (struct perf_pmu *pmu __maybe_unused) |
|
static struct perf_pmu * | pmu_lookup (const char *name) |
|
static struct perf_pmu * | pmu_find (const char *name) |
|
struct perf_pmu * | perf_pmu__scan (struct perf_pmu *pmu) |
|
struct perf_pmu * | perf_pmu__find (const char *name) |
|
static struct perf_pmu_format * | pmu_find_format (struct list_head *formats, const char *name) |
|
__u64 | perf_pmu__format_bits (struct list_head *formats, const char *name) |
|
static void | pmu_format_value (unsigned long *format, __u64 value, __u64 *v, bool zero) |
|
static __u64 | pmu_format_max_value (const unsigned long *format) |
|
static int | pmu_resolve_param_term (struct parse_events_term *term, struct list_head *head_terms, __u64 *value) |
|
static char * | pmu_formats_string (struct list_head *formats) |
|
static int | pmu_config_term (struct list_head *formats, struct perf_event_attr *attr, struct parse_events_term *term, struct list_head *head_terms, bool zero, struct parse_events_error *err) |
|
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 *err) |
|
int | perf_pmu__config (struct perf_pmu *pmu, struct perf_event_attr *attr, struct list_head *head_terms, struct parse_events_error *err) |
|
static struct perf_pmu_alias * | pmu_find_alias (struct perf_pmu *pmu, struct parse_events_term *term) |
|
static int | check_info_data (struct perf_pmu_alias *alias, struct perf_pmu_info *info) |
|
int | perf_pmu__check_alias (struct perf_pmu *pmu, struct list_head *head_terms, struct perf_pmu_info *info) |
|
int | perf_pmu__new_format (struct list_head *list, char *name, int config, unsigned long *bits) |
|
void | perf_pmu__set_format (unsigned long *bits, long from, long to) |
|
static int | sub_non_neg (int a, int b) |
|
static char * | format_alias (char *buf, int len, struct perf_pmu *pmu, struct perf_pmu_alias *alias) |
|
static char * | format_alias_or (char *buf, int len, struct perf_pmu *pmu, struct perf_pmu_alias *alias) |
|
static int | cmp_sevent (const void *a, const void *b) |
|
static void | wordwrap (char *s, int start, int max, int corr) |
|
void | print_pmu_events (const char *event_glob, bool name_only, bool quiet_flag, bool long_desc, bool details_flag) |
|
bool | pmu_have_event (const char *pname, const char *name) |
|
static FILE * | perf_pmu__open_file (struct perf_pmu *pmu, const char *name) |
|
int | perf_pmu__scan_file (struct perf_pmu *pmu, const char *name, const char *fmt,...) |
|