Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/util/
Dtracepoint.h11 #define for_each_event(dir_path, evt_dir, evt_dirent) \ argument
12 while ((evt_dirent = readdir(evt_dir)) != NULL) \
13 if (evt_dirent->d_type == DT_DIR && \
14 (strcmp(evt_dirent->d_name, ".")) && \
15 (strcmp(evt_dirent->d_name, "..")) && \
16 (!tp_event_has_id(dir_path, evt_dirent)))
Dprint-events.c104 struct dirent *evt_dirent = evt_namelist[j]; in print_tracepoint_events() local
108 if (evt_dirent->d_type != DT_DIR || in print_tracepoint_events()
109 !strcmp(evt_dirent->d_name, ".") || in print_tracepoint_events()
110 !strcmp(evt_dirent->d_name, "..")) in print_tracepoint_events()
113 snprintf(buf, sizeof(buf), "%s/id", evt_dirent->d_name); in print_tracepoint_events()
126 sys_dirent->d_name, evt_dirent->d_name); in print_tracepoint_events()
Dtrace-event-info.c408 struct dirent *sys_dirent, *evt_dirent; in tracepoint_id_to_path() local
427 for_each_event(dir_path, evt_dir, evt_dirent) { in tracepoint_id_to_path()
430 evt_dirent->d_name); in tracepoint_id_to_path()
453 MAX_EVENT_LENGTH, evt_dirent->d_name) < 0) { in tracepoint_id_to_path()