Searched refs:pmu_event (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/perf/pmu-events/
H A Dpmu-events.h41 struct pmu_event { struct
73 typedef int (*pmu_event_iter_fn)(const struct pmu_event *pe,
H A Dempty-pmu-events.c14 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[] = {
280 for (const struct pmu_event *pe = &table->entries[0]; pe->name; pe++) {
299 for (const struct pmu_event *pe = &table->entries[0]; pe->name; pe++) {
314 for (const struct pmu_event *pe = &table->entries[0]; pe->name; pe++) {
/linux-master/drivers/perf/hisilicon/
H A Dhns3_pmu.c892 struct hns3_pmu_event_attr *pmu_event; local
902 pmu_event = eattr->var;
904 if (event == pmu_event->event)
905 return pmu_event;
947 struct hns3_pmu_event_attr *pmu_event)
951 if (!(pmu_event->filter_support & HNS3_PMU_FILTER_SUPPORT_GLOBAL))
958 struct hns3_pmu_event_attr *pmu_event)
963 if (!(pmu_event->filter_support & HNS3_PMU_FILTER_SUPPORT_FUNC))
973 struct hns3_pmu_event_attr *pmu_event)
978 if (!(pmu_event
946 hns3_pmu_is_enabled_global_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) argument
957 hns3_pmu_is_enabled_func_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) argument
972 hns3_pmu_is_enabled_func_queue_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) argument
986 hns3_pmu_is_enabled_port_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) argument
998 hns3_pmu_is_enabled_port_tc_mode(struct perf_event *event, struct hns3_pmu_event_attr *pmu_event) 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) argument
1027 struct hns3_pmu_event_attr *pmu_event; local
[all...]
/linux-master/tools/perf/tests/
H A Dpmu-events.c23 struct pmu_event event;
31 * will have no long_desc in pmu_event.long_desc, but long_desc may
300 static int compare_pmu_events(const struct pmu_event *e1, const struct pmu_event *e2)
369 struct pmu_event const *event = &test_event->event;
419 static int test__pmu_event_table_core_callback(const struct pmu_event *pe,
434 struct pmu_event const *event = &test_event->event;
453 static int test__pmu_event_table_sys_callback(const struct pmu_event *pe,
465 struct pmu_event const *event = &test_event->event;
575 struct pmu_event cons
[all...]
H A Dparse-events.c2630 char pmu_event[PATH_MAX]; local
2666 n = snprintf(pmu_event, sizeof(pmu_event), "%s%s", path, ent->d_name);
2672 file = fopen(pmu_event, "r");
2694 pr_debug("skipping parameterized PMU event: %s which contains ?\n", pmu_event);
/linux-master/tools/perf/util/
H A Dpmu.c60 * @pmu_name: The name copied from the json struct pmu_event. This can
475 static int update_alias(const struct pmu_event *pe,
503 const struct pmu_event *pe)
820 * @pmu_name: the json struct pmu_event name. This may lack a suffix (which
897 static int pmu_add_cpu_aliases_map_callback(const struct pmu_event *pe,
928 static int pmu_add_sys_aliases_iter_fn(const struct pmu_event *pe,

Completed in 152 milliseconds