Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/util/
Dtracepoint.h18 #define for_each_subsystem(sys_dir, sys_dirent) \ argument
19 while ((sys_dirent = readdir(sys_dir)) != NULL) \
20 if (sys_dirent->d_type == DT_DIR && \
21 (strcmp(sys_dirent->d_name, ".")) && \
22 (strcmp(sys_dirent->d_name, "..")))
Dprint-events.c81 struct dirent *sys_dirent = sys_namelist[i]; in print_tracepoint_events() local
86 if (sys_dirent->d_type != DT_DIR || in print_tracepoint_events()
87 !strcmp(sys_dirent->d_name, ".") || in print_tracepoint_events()
88 !strcmp(sys_dirent->d_name, "..")) in print_tracepoint_events()
91 dir_fd = openat(events_fd, sys_dirent->d_name, O_PATH); in print_tracepoint_events()
95 evt_items = scandirat(events_fd, sys_dirent->d_name, &evt_namelist, NULL, alphasort); 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
419 for_each_subsystem(sys_dir, sys_dirent) { in tracepoint_id_to_path()
420 dir_path = get_events_file(sys_dirent->d_name); in tracepoint_id_to_path()
448 MAX_EVENT_LENGTH, sys_dirent->d_name) < 0) { in tracepoint_id_to_path()