/kernel/linux/linux-6.6/tools/perf/pmu-events/ |
H A D | empty-pmu-events.c | 14 static const struct pmu_event pmu_events__test_soc_cpu[] = { 188 const struct pmu_event *entries; 230 static const struct pmu_event pmu_events__test_soc_sys[] = { 272 for (const struct pmu_event *pe = &table->entries[0]; pe->name; pe++) { in pmu_events_table__for_each_event() 291 for (const struct pmu_event *pe = &table->entries[0]; pe->name; pe++) { in pmu_events_table__find_event() 306 for (const struct pmu_event *pe = &table->entries[0]; pe->name; pe++) { in pmu_events_table__num_events()
|
H A D | pmu-events.h | 41 struct pmu_event { struct 73 typedef int (*pmu_event_iter_fn)(const struct pmu_event *pe,
|
/kernel/linux/linux-5.10/tools/perf/pmu-events/ |
H A D | pmu-events.h | 13 struct pmu_event { struct 43 struct pmu_event *table;
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | pmu-events.c | 23 struct pmu_event event; 31 * will have no long_desc in pmu_event.long_desc, but long_desc may 285 static int compare_pmu_events(const struct pmu_event *e1, const struct pmu_event *e2) in compare_pmu_events() 354 struct pmu_event const *event = &test_event->event; in compare_alias_to_test_event() 404 static int test__pmu_event_table_core_callback(const struct pmu_event *pe, in test__pmu_event_table_core_callback() 419 struct pmu_event const *event = &test_event->event; in test__pmu_event_table_core_callback() 438 static int test__pmu_event_table_sys_callback(const struct pmu_event *pe, in test__pmu_event_table_sys_callback() 450 struct pmu_event const *event = &test_event->event; in test__pmu_event_table_sys_callback() 560 struct pmu_event cons in __test_core_pmu_event_aliases() [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | pmu-events.c | 17 struct pmu_event event; 24 * will have no long_desc in pmu_event.long_desc, but long_desc may 154 struct pmu_event *table; in test_pmu_event_table() 166 struct pmu_event *te; in test_pmu_event_table() 271 struct pmu_event *te; in __test__pmu_event_aliases() 416 static int check_parse_cpu(const char *id, bool same_cpu, struct pmu_event *pe) in check_parse_cpu() 452 const struct pmu_event *pe) in expr_failure() 464 struct pmu_event *pe; in test_parsing() 582 struct pmu_event *pe; in test_parsing_fake()
|
H A D | expand-cgroup.c | 183 struct pmu_event pme_test[] = { in expand_metric_events()
|
H A D | parse-metric.c | 15 static struct pmu_event pme_test[] = {
|
/kernel/linux/linux-6.6/drivers/perf/hisilicon/ |
H A D | hns3_pmu.c | 892 struct hns3_pmu_event_attr *pmu_event; in hns3_pmu_get_pmu_event() local 902 pmu_event = eattr->var; in hns3_pmu_get_pmu_event() 904 if (event == pmu_event->event) in hns3_pmu_get_pmu_event() 905 return pmu_event; in hns3_pmu_get_pmu_event() 947 struct hns3_pmu_event_attr *pmu_event) in hns3_pmu_is_enabled_global_mode() 951 if (!(pmu_event->filter_support & HNS3_PMU_FILTER_SUPPORT_GLOBAL)) in hns3_pmu_is_enabled_global_mode() 958 struct hns3_pmu_event_attr *pmu_event) in hns3_pmu_is_enabled_func_mode() 963 if (!(pmu_event->filter_support & HNS3_PMU_FILTER_SUPPORT_FUNC)) in hns3_pmu_is_enabled_func_mode() 973 struct hns3_pmu_event_attr *pmu_event) in hns3_pmu_is_enabled_func_queue_mode() 978 if (!(pmu_event in hns3_pmu_is_enabled_func_queue_mode() 946 hns3_pmu_is_enabled_global_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) hns3_pmu_is_enabled_global_mode() argument 957 hns3_pmu_is_enabled_func_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) hns3_pmu_is_enabled_func_mode() argument 972 hns3_pmu_is_enabled_func_queue_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) hns3_pmu_is_enabled_func_queue_mode() argument 986 hns3_pmu_is_enabled_port_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) hns3_pmu_is_enabled_port_mode() argument 998 hns3_pmu_is_enabled_port_tc_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) hns3_pmu_is_enabled_port_tc_mode() argument 1010 hns3_pmu_is_enabled_func_intr_mode(struct perf_event *event, struct hns3_pmu *hns3_pmu, struct hns3_pmu_event_attr *pmu_event) hns3_pmu_is_enabled_func_intr_mode() argument 1027 struct hns3_pmu_event_attr *pmu_event; hns3_pmu_select_filter_mode() local [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | metricgroup.c | 365 * originally from 'struct pmu_event' object. in metricgroup__setup_events() 498 struct pmu_event *pe; in metricgroup__print() 667 static bool metricgroup__has_constraint(struct pmu_event *pe) in metricgroup__has_constraint() 681 int __weak arch_get_runtimeparam(struct pmu_event *pe __maybe_unused) in arch_get_runtimeparam() 687 struct pmu_event *pe, in __add_metric() 806 static struct pmu_event *find_metric(const char *metric, struct pmu_events_map *map) in find_metric() 808 struct pmu_event *pe; in find_metric() 864 struct pmu_event *pe, 889 struct pmu_event *pe; in __resolve_metric() 936 struct pmu_event *p in add_metric() [all...] |
H A D | metricgroup.h | 58 int arch_get_runtimeparam(struct pmu_event *pe __maybe_unused);
|
H A D | s390-sample-raw.c | 143 struct pmu_event *evp = map->table; in get_counter_name()
|
H A D | pmu.c | 760 struct pmu_event *pe = &map->table[i++]; in pmu_add_cpu_aliases_map()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/ |
H A D | header.c | 43 int arch_get_runtimeparam(struct pmu_event *pe) in arch_get_runtimeparam()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | pmu.c | 59 * @pmu_name: The name copied from the json struct pmu_event. This can 474 static int update_alias(const struct pmu_event *pe, in update_alias() 502 const struct pmu_event *pe) in perf_pmu__new_alias() 822 * @pmu_name: the json struct pmu_event name. This may lack a suffix (which 877 static int pmu_add_cpu_aliases_map_callback(const struct pmu_event *pe, in pmu_add_cpu_aliases_map_callback() 908 static int pmu_add_sys_aliases_iter_fn(const struct pmu_event *pe, in pmu_add_sys_aliases_iter_fn()
|