Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Dtracepoint.h17 #define for_each_subsystem(sys_dir, sys_dirent) \ argument
18 while ((sys_dirent = readdir(sys_dir)) != NULL) \
19 if (sys_dirent->d_type == DT_DIR && \
20 (strcmp(sys_dirent->d_name, ".")) && \
21 (strcmp(sys_dirent->d_name, "..")))
Dtracepoint.c32 struct dirent *sys_dirent, *evt_dirent; in is_valid_tracepoint() local
40 for_each_subsystem(sys_dir, sys_dirent) { in is_valid_tracepoint()
41 dir_path = get_events_file(sys_dirent->d_name); in is_valid_tracepoint()
50 sys_dirent->d_name, evt_dirent->d_name); in is_valid_tracepoint()
Dprint-events.c70 struct dirent *sys_dirent, *evt_dirent; in print_tracepoint_events() local
88 for_each_subsystem(sys_dir, sys_dirent) { in print_tracepoint_events()
90 !strglobmatch(sys_dirent->d_name, subsys_glob)) in print_tracepoint_events()
93 dir_path = get_events_file(sys_dirent->d_name); in print_tracepoint_events()
111 sys_dirent->d_name, evt_dirent->d_name); in print_tracepoint_events()
Dtrace-event-info.c415 struct dirent *sys_dirent, *evt_dirent; in tracepoint_id_to_path() local
426 for_each_subsystem(sys_dir, sys_dirent) { in tracepoint_id_to_path()
427 dir_path = get_events_file(sys_dirent->d_name); in tracepoint_id_to_path()
455 MAX_EVENT_LENGTH, sys_dirent->d_name) < 0) { in tracepoint_id_to_path()