Home
last modified time | relevance | path

Searched refs:pmu_event (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/perf/hisilicon/
Dhns3_pmu.c892 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() argument
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() argument
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() argument
978 if (!(pmu_event->filter_support & HNS3_PMU_FILTER_SUPPORT_FUNC_QUEUE)) in hns3_pmu_is_enabled_func_queue_mode()
[all …]
/Linux-v6.1/tools/perf/tests/
Dpmu-events.c21 struct pmu_event event;
277 static int compare_pmu_events(const struct pmu_event *e1, const struct pmu_event *e2) in compare_pmu_events()
376 struct pmu_event const *event = &test_event->event; in compare_alias_to_test_event()
426 static int test__pmu_event_table_core_callback(const struct pmu_event *pe, in test__pmu_event_table_core_callback()
444 struct pmu_event const *event = &test_event->event; in test__pmu_event_table_core_callback()
463 static int test__pmu_event_table_sys_callback(const struct pmu_event *pe, in test__pmu_event_table_sys_callback()
475 struct pmu_event const *event = &test_event->event; in test__pmu_event_table_sys_callback()
565 struct pmu_event const *event = &test_event->event; in __test_core_pmu_event_aliases()
630 struct pmu_event const *event = &test_event->event; in __test_uncore_pmu_event_aliases()
842 static int test__parsing_callback(const struct pmu_event *pe, const struct pmu_events_table *table, in test__parsing_callback()
[all …]
/Linux-v6.1/tools/perf/pmu-events/
Dempty-pmu-events.c14 static const struct pmu_event pme_test_soc_cpu[] = {
181 const struct pmu_event *entries;
215 static const struct pmu_event pme_test_soc_sys[] = {
257 for (const struct pmu_event *pe = &table->entries[0]; in pmu_events_table_for_each_event()
Dpmu-events.h15 struct pmu_event { struct
35 typedef int (*pmu_event_iter_fn)(const struct pmu_event *pe, argument
DREADME48 struct pmu_event pme_power8[] = {
/Linux-v6.1/tools/perf/util/
Dmetricgroup.c168 static bool metricgroup__has_constraint(const struct pmu_event *pe) in metricgroup__has_constraint()
194 static struct metric *metric__new(const struct pmu_event *pe, in metric__new()
349 static bool match_pe_metric(const struct pmu_event *pe, const char *metric) in match_pe_metric()
433 static int metricgroup__print_pmu_event(const struct pmu_event *pe, in metricgroup__print_pmu_event()
513 static int metricgroup__sys_event_iter(const struct pmu_event *pe, in metricgroup__sys_event_iter()
534 static int metricgroup__print_sys_event_iter(const struct pmu_event *pe, in metricgroup__print_sys_event_iter()
554 static int metricgroup__print_callback(const struct pmu_event *pe, in metricgroup__print_callback()
859 int __weak arch_get_runtimeparam(const struct pmu_event *pe __maybe_unused) in arch_get_runtimeparam()
889 struct pmu_event *pe);
892 const struct pmu_event *pe,
[all …]
Dmetricgroup.h84 int arch_get_runtimeparam(const struct pmu_event *pe __maybe_unused);
Ds390-sample-raw.c137 static int get_counter_name_callback(const struct pmu_event *evp, in get_counter_name_callback()
Dpmu.c318 char *desc, char *val, const struct pmu_event *pe) in __perf_pmu__new_alias()
801 static int pmu_add_cpu_aliases_map_callback(const struct pmu_event *pe, in pmu_add_cpu_aliases_map_callback()
858 static int pmu_add_sys_aliases_iter_fn(const struct pmu_event *pe, in pmu_add_sys_aliases_iter_fn()
/Linux-v6.1/tools/perf/arch/powerpc/util/
Dheader.c43 int arch_get_runtimeparam(const struct pmu_event *pe) in arch_get_runtimeparam()