Home
last modified time | relevance | path

Searched refs:evt_path (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/perf/util/
Dtracepoint.c14 char evt_path[MAXPATHLEN]; in tp_event_has_id() local
17 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id()
18 fd = open(evt_path, O_RDONLY); in tp_event_has_id()
33 char evt_path[MAXPATHLEN]; in is_valid_tracepoint() local
49 snprintf(evt_path, MAXPATHLEN, "%s:%s", in is_valid_tracepoint()
51 if (!strcmp(evt_path, event_string)) { in is_valid_tracepoint()
Dprint-events.c96 char evt_path[MAXPATHLEN]; in print_tracepoint_events() local
104 snprintf(evt_path, sizeof(evt_path), "%s/id", evt_dirent->d_name); in print_tracepoint_events()
105 evt_fd = openat(dir_fd, evt_path, O_RDONLY); in print_tracepoint_events()
110 snprintf(evt_path, MAXPATHLEN, "%s:%s", in print_tracepoint_events()
115 evt_path, in print_tracepoint_events()
Dtrace-event-info.c411 char evt_path[MAXPATHLEN]; in tracepoint_id_to_path() local
428 scnprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path()
430 fd = open(evt_path, O_RDONLY); in tracepoint_id_to_path()
Dparse-events.c550 char *evt_path; in add_tracepoint_multi_event() local
555 evt_path = get_events_file(sys_name); in add_tracepoint_multi_event()
556 if (!evt_path) { in add_tracepoint_multi_event()
560 evt_dir = opendir(evt_path); in add_tracepoint_multi_event()
562 put_events_file(evt_path); in add_tracepoint_multi_event()
588 put_events_file(evt_path); in add_tracepoint_multi_event()