Home
last modified time | relevance | path

Searched refs:pmu_events (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c102 unsigned long *used_mask = hisi_pmu->pmu_events.used_mask; in hisi_uncore_pmu_get_event_idx()
128 clear_bit(idx, hisi_pmu->pmu_events.used_mask); in hisi_uncore_pmu_clear_event_idx()
150 event = hisi_pmu->pmu_events.hw_events[idx]; in hisi_uncore_pmu_isr()
365 hisi_pmu->pmu_events.hw_events[idx] = event; in hisi_uncore_pmu_add()
382 hisi_pmu->pmu_events.hw_events[hwc->idx] = NULL; in hisi_uncore_pmu_del()
396 bool enabled = !bitmap_empty(hisi_pmu->pmu_events.used_mask, in hisi_uncore_pmu_enable()
Dhisi_uncore_ddrc_pmu.c170 unsigned long *used_mask = ddrc_pmu->pmu_events.used_mask; in hisi_ddrc_pmu_v1_get_event_idx()
470 ddrc_pmu->pmu_events.attr_groups = hisi_ddrc_pmu_v2_attr_groups; in hisi_ddrc_pmu_dev_probe()
475 ddrc_pmu->pmu_events.attr_groups = hisi_ddrc_pmu_v1_attr_groups; in hisi_ddrc_pmu_dev_probe()
519 hisi_pmu_init(&ddrc_pmu->pmu, name, ddrc_pmu->pmu_events.attr_groups, THIS_MODULE); in hisi_ddrc_pmu_probe()
Dhisi_uncore_hha_pmu.c482 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v2_attr_groups; in hisi_hha_pmu_dev_probe()
487 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v1_attr_groups; in hisi_hha_pmu_dev_probe()
522 hisi_pmu_init(&hha_pmu->pmu, name, hha_pmu->pmu_events.attr_groups, THIS_MODULE); in hisi_hha_pmu_probe()
Dhisi_uncore_cpa_pmu.c291 cpa_pmu->pmu_events.attr_groups = hisi_cpa_pmu_attr_groups; in hisi_cpa_pmu_dev_probe()
331 .attr_groups = cpa_pmu->pmu_events.attr_groups, in hisi_cpa_pmu_probe()
Dhisi_uncore_l3c_pmu.c516 l3c_pmu->pmu_events.attr_groups = hisi_l3c_pmu_v2_attr_groups; in hisi_l3c_pmu_dev_probe()
520 l3c_pmu->pmu_events.attr_groups = hisi_l3c_pmu_v1_attr_groups; in hisi_l3c_pmu_dev_probe()
560 hisi_pmu_init(&l3c_pmu->pmu, name, l3c_pmu->pmu_events.attr_groups, THIS_MODULE); in hisi_l3c_pmu_probe()
Dhisi_uncore_pmu.h75 struct hisi_pmu_hwevents pmu_events; member
Dhisi_uncore_pa_pmu.c378 pa_pmu->pmu_events.attr_groups = hisi_pa_pmu_v2_attr_groups; in hisi_pa_pmu_dev_probe()
415 hisi_pmu_init(&pa_pmu->pmu, name, pa_pmu->pmu_events.attr_groups, THIS_MODULE); in hisi_pa_pmu_probe()
Dhisi_uncore_sllc_pmu.c411 sllc_pmu->pmu_events.attr_groups = hisi_sllc_pmu_v2_attr_groups; in hisi_sllc_pmu_dev_probe()
448 hisi_pmu_init(&sllc_pmu->pmu, name, sllc_pmu->pmu_events.attr_groups, THIS_MODULE); in hisi_sllc_pmu_probe()
/linux-6.1.9/arch/powerpc/perf/
Dimc-pmu.c225 struct device_node *np, *pmu_events; in update_events_in_group() local
232 pmu_events = of_find_node_by_phandle(handle); in update_events_in_group()
237 if (!pmu_events) in update_events_in_group()
241 ct = of_get_child_count(pmu_events); in update_events_in_group()
245 of_node_put(pmu_events); in update_events_in_group()
262 of_node_put(pmu_events); in update_events_in_group()
268 for_each_child_of_node(pmu_events, np) { in update_events_in_group()
274 of_node_put(pmu_events); in update_events_in_group()
/linux-6.1.9/tools/perf/tests/
Dtests.h85 DECLARE_SUITE(pmu_events);
Dparse-events.c2395 pmu_events,