Searched refs:sys_dirent (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | tracepoint.h | 17 #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, "..")))
|
D | tracepoint.c | 32 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()
|
D | print-events.c | 70 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()
|
D | trace-event-info.c | 415 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()
|