Home
last modified time | relevance | path

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

/tools/perf/util/
Dparse-events.c148 static int tp_event_has_id(struct dirent *sys_dir, struct dirent *evt_dir) in tp_event_has_id() argument
154 sys_dir->d_name, evt_dir->d_name); in tp_event_has_id()
163 #define for_each_event(sys_dirent, evt_dir, evt_dirent) \ argument
164 while ((evt_dirent = readdir(evt_dir)) != NULL) \
176 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local
192 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 …]