Home
last modified time | relevance | path

Searched refs:evt_name (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/tools/perf/util/
Dprint-events.c184 char *evt_name = NULL; in print_sdt_events() local
210 if (asprintf(&evt_name, "%s@%s(%.12s)", sdt_name->s, path, bid) < 0) in print_sdt_events()
211 evt_name = NULL; in print_sdt_events()
218 evt_name ?: sdt_name->s, in print_sdt_events()
227 free(evt_name); in print_sdt_events()
Dparse-events.c521 const char *sys_name, const char *evt_name, in add_tracepoint() argument
526 struct evsel *evsel = evsel__newtp_idx(sys_name, evt_name, (*idx)++); in add_tracepoint()
529 tracepoint_error(err, PTR_ERR(evsel), sys_name, evt_name, loc->first_column); in add_tracepoint()
546 const char *sys_name, const char *evt_name, in add_tracepoint_multi_event() argument
557 tracepoint_error(err, errno, sys_name, evt_name, loc->first_column); in add_tracepoint_multi_event()
563 tracepoint_error(err, errno, sys_name, evt_name, loc->first_column); in add_tracepoint_multi_event()
574 if (!strglobmatch(evt_ent->d_name, evt_name)) in add_tracepoint_multi_event()
584 tracepoint_error(err, ENOENT, sys_name, evt_name, loc->first_column); in add_tracepoint_multi_event()
594 const char *sys_name, const char *evt_name, in add_tracepoint_event() argument
598 return strpbrk(evt_name, "*?") ? in add_tracepoint_event()
[all …]
/linux-6.6.21/drivers/platform/mellanox/
Dmlxbf-pmc.c155 char *evt_name; member
608 if (!strcmp(evt, events[i].evt_name)) in mlxbf_pmc_get_event_num()
627 return events[i].evt_name; in mlxbf_pmc_get_event_name()
1058 char *evt_name; in mlxbf_pmc_event_show() local
1070 evt_name = mlxbf_pmc_get_event_name(pmc->block_name[blk_num], evt_num); in mlxbf_pmc_event_show()
1071 if (!evt_name) in mlxbf_pmc_event_show()
1074 return sysfs_emit(buf, "0x%llx: %s\n", evt_num, evt_name); in mlxbf_pmc_event_show()
1130 events[i].evt_num, events[i].evt_name); in mlxbf_pmc_event_list_show()
1293 events[j].evt_name); in mlxbf_pmc_init_perftype_reg()