Searched refs:evt_dir (Results 1 – 1 of 1) sorted by relevance
148 static int tp_event_has_id(struct dirent *sys_dir, struct dirent *evt_dir) in tp_event_has_id() argument154 sys_dir->d_name, evt_dir->d_name); in tp_event_has_id()163 #define for_each_event(sys_dirent, evt_dir, evt_dirent) \ argument164 while ((evt_dirent = readdir(evt_dir)) != NULL) \176 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local192 evt_dir = opendir(dir_path); in tracepoint_id_to_path()193 if (!evt_dir) in tracepoint_id_to_path()196 for_each_event(sys_dirent, evt_dir, evt_dirent) { in tracepoint_id_to_path()210 closedir(evt_dir); in tracepoint_id_to_path()231 closedir(evt_dir); in tracepoint_id_to_path()[all …]