Home
last modified time | relevance | path

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

/openbmc/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c101 unsigned long *used_mask = hisi_pmu->pmu_events.used_mask; in hisi_uncore_pmu_get_event_idx()
127 clear_bit(idx, hisi_pmu->pmu_events.used_mask); in hisi_uncore_pmu_clear_event_idx()
149 event = hisi_pmu->pmu_events.hw_events[idx]; in hisi_uncore_pmu_isr()
367 hisi_pmu->pmu_events.hw_events[idx] = event; in hisi_uncore_pmu_add()
384 hisi_pmu->pmu_events.hw_events[hwc->idx] = NULL; in hisi_uncore_pmu_del()
398 bool enabled = !bitmap_empty(hisi_pmu->pmu_events.used_mask, in hisi_uncore_pmu_enable()
550 pmu->attr_groups = hisi_pmu->pmu_events.attr_groups; in hisi_pmu_init()
H A 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()
H A Dhisi_uncore_pmu.h89 struct hisi_pmu_hwevents pmu_events; member
H A 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()
H A 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()
H A Dhisi_uncore_cpa_pmu.c291 cpa_pmu->pmu_events.attr_groups = hisi_cpa_pmu_attr_groups; in hisi_cpa_pmu_dev_probe()
H A Dhisi_uncore_pa_pmu.c466 pa_pmu->pmu_events.attr_groups = pa_pmu->dev_info->attr_groups; in hisi_pa_pmu_dev_probe()
H A Dhisi_uncore_sllc_pmu.c411 sllc_pmu->pmu_events.attr_groups = hisi_sllc_pmu_v2_attr_groups; in hisi_sllc_pmu_dev_probe()
H A Dhisi_uncore_uc_pmu.c504 uc_pmu->pmu_events.attr_groups = hisi_uc_pmu_attr_groups; in hisi_uc_pmu_dev_probe()
/openbmc/linux/arch/powerpc/perf/
H A 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()
/openbmc/linux/tools/perf/tests/
H A Dtests.h85 DECLARE_SUITE(pmu_events);
H A Dparse-events.c2716 pmu_events,