Home
last modified time | relevance | path

Searched refs:evt_num (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/platform/mellanox/
Dmlxbf-pmc.c154 int evt_num; member
603 return events[i].evt_num; in mlxbf_pmc_get_event_num()
620 if (evt == events[i].evt_num) in mlxbf_pmc_get_event_name()
1023 uint64_t evt_num; in mlxbf_pmc_counter_store() local
1041 err = mlxbf_pmc_read_event(blk_num, cnt_num, is_l3, &evt_num); in mlxbf_pmc_counter_store()
1044 err = mlxbf_pmc_program_counter(blk_num, cnt_num, evt_num, in mlxbf_pmc_counter_store()
1070 uint64_t evt_num; in mlxbf_pmc_event_show() local
1079 err = mlxbf_pmc_read_event(blk_num, cnt_num, is_l3, &evt_num); in mlxbf_pmc_event_show()
1083 evt_name = mlxbf_pmc_get_event_name(pmc->block_name[blk_num], evt_num); in mlxbf_pmc_event_show()
1087 return sprintf(buf, "0x%llx: %s\n", evt_num, evt_name); in mlxbf_pmc_event_show()
[all …]
/linux-5.19.10/tools/perf/util/
Dparse-events.c2706 unsigned int evt_i = 0, evt_num = 0; in print_tracepoint_events() local
2715 evt_list = zalloc(sizeof(char *) * evt_num); in print_tracepoint_events()
2738 evt_num++; in print_tracepoint_events()
2762 qsort(evt_list, evt_num, sizeof(char *), cmp_string); in print_tracepoint_events()
2764 while (evt_i < evt_num) { in print_tracepoint_events()
2772 if (evt_num && pager_in_use()) in print_tracepoint_events()
2776 evt_num = evt_i; in print_tracepoint_events()
2777 for (evt_i = 0; evt_i < evt_num; evt_i++) in print_tracepoint_events()
2953 unsigned int type, op, i, evt_i = 0, evt_num = 0, npmus = 0; in print_hwcache_events() local
2968 evt_list = zalloc(sizeof(char *) * evt_num); in print_hwcache_events()
[all …]