Searched refs:pmu_events (Results 1 – 14 of 14) sorted by relevance
| /linux/drivers/perf/hisilicon/ |
| H A D | hisi_uncore_pmu.c | 133 unsigned long *used_mask = hisi_pmu->pmu_events.used_mask; in hisi_uncore_pmu_get_event_idx() 149 clear_bit(idx, hisi_pmu->pmu_events.used_mask); in hisi_uncore_pmu_clear_event_idx() 171 event = hisi_pmu->pmu_events.hw_events[idx]; in hisi_uncore_pmu_isr() 390 hisi_pmu->pmu_events.hw_events[idx] = event; in hisi_uncore_pmu_add() 407 hisi_pmu->pmu_events.hw_events[hwc->idx] = NULL; in hisi_uncore_pmu_del() 421 bool enabled = !bitmap_empty(hisi_pmu->pmu_events.used_mask, in hisi_uncore_pmu_enable() 619 pmu->attr_groups = hisi_pmu->pmu_events.attr_groups; in hisi_pmu_init()
|
| H A D | hisi_uncore_noc_pmu.c | 81 struct hisi_pmu_hwevents *pmu_events = &noc_pmu->pmu_events; in hisi_noc_pmu_get_event_idx() local 84 cur_idx = find_first_bit(pmu_events->used_mask, noc_pmu->num_counters); in hisi_noc_pmu_get_event_idx() 86 !hisi_noc_pmu_check_global_filter(pmu_events->hw_events[cur_idx], event)) in hisi_noc_pmu_get_event_idx() 217 if (bitmap_weight(noc_pmu->pmu_events.used_mask, noc_pmu->num_counters) > 1) in hisi_noc_pmu_disable_filter() 312 noc_pmu->pmu_events.attr_groups = noc_pmu->dev_info->attr_groups; in hisi_noc_pmu_dev_init()
|
| H A D | hisi_uncore_l3c_pmu.c | 122 unsigned long *used_mask = l3c_pmu->pmu_events.used_mask; in hisi_l3c_pmu_get_event_idx() 383 struct hw_perf_event *hwc = &l3c_pmu->pmu_events.hw_events[idx]->hw; in hisi_l3c_pmu_write_evtype() 409 unsigned long *used_mask = l3c_pmu->pmu_events.used_mask; in hisi_l3c_pmu_start_counters() 440 unsigned long *used_mask = l3c_pmu->pmu_events.used_mask; in hisi_l3c_pmu_stop_counters() 533 struct hw_perf_event *hwc = &l3c_pmu->pmu_events.hw_events[idx]->hw; in hisi_l3c_pmu_clear_int_status() 796 l3c_pmu->pmu_events.attr_groups = l3c_pmu->dev_info->attr_groups; in hisi_l3c_pmu_dev_probe()
|
| H A D | hisi_uncore_pmu.h | 122 struct hisi_pmu_hwevents pmu_events; member
|
| H A D | hisi_uncore_hha_pmu.c | 457 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v2_attr_groups; in hisi_hha_pmu_dev_probe() 462 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v1_attr_groups; in hisi_hha_pmu_dev_probe()
|
| H A D | hisi_uncore_ddrc_pmu.c | 127 unsigned long *used_mask = ddrc_pmu->pmu_events.used_mask; in hisi_ddrc_pmu_v1_get_event_idx() 364 ddrc_pmu->pmu_events.attr_groups = ddrc_pmu->dev_info->attr_groups; in hisi_ddrc_pmu_dev_probe()
|
| H A D | hisi_uncore_mn_pmu.c | 279 mn_pmu->pmu_events.attr_groups = mn_pmu->dev_info->attr_groups; in hisi_mn_pmu_dev_init()
|
| H A D | hisi_uncore_pa_pmu.c | 440 pa_pmu->pmu_events.attr_groups = pa_pmu->dev_info->attr_groups; in hisi_pa_pmu_dev_probe()
|
| H A D | hisi_uncore_sllc_pmu.c | 476 sllc_pmu->pmu_events.attr_groups = hisi_sllc_pmu_v2_attr_groups; in hisi_sllc_pmu_dev_probe()
|
| /linux/arch/powerpc/perf/ |
| H A D | imc-pmu.c | 225 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/tools/perf/tests/shell/ |
| H A D | stat+event_uniquifying.sh | 29 read -ra pmu_events <<< "$(perf list --raw pmu)"
|
| /linux/tools/perf/tests/ |
| H A D | tests.h | 114 DECLARE_SUITE(pmu_events);
|
| H A D | pmu.c | 627 TEST_CASE("Parsing with PMU event", pmu_events),
|
| H A D | parse-events.c | 2931 pmu_events,
|