Searched refs:evt_dirent (Results 1 – 4 of 4) sorted by relevance
/linux/tools/perf/util/ |
H A D | tracepoint.h | 11 #define for_each_event(dir_path, evt_dir, evt_dirent) \ 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))) 10 for_each_event(dir_path,evt_dir,evt_dirent) global() argument
|
H A D | tracepoint.c | 32 struct dirent *sys_dirent, *evt_dirent; is_valid_tracepoint() local
|
H A D | print-events.c | 90 struct dirent *evt_dirent = evt_namelist[j]; in print_tracepoint_events() 94 if (evt_dirent->d_type != DT_DIR || in print_tracepoint_events() 95 !strcmp(evt_dirent->d_name, ".") || in print_tracepoint_events() 96 !strcmp(evt_dirent->d_name, "..")) in print_tracepoint_events() 99 snprintf(buf, sizeof(buf), "%s/id", evt_dirent->d_name); in print_tracepoint_events() 112 sys_dirent->d_name, evt_dirent->d_name); in print_tracepoint_events() 104 struct dirent *evt_dirent = evt_namelist[j]; print_tracepoint_events() local
|
H A D | trace-event-info.c | 408 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()
|