Home
last modified time | relevance | path

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

/external/linux-tools-perf/util/
Dparse-events.c141 static int tp_event_has_id(struct dirent *sys_dir, struct dirent *evt_dir) in tp_event_has_id() argument
147 sys_dir->d_name, evt_dir->d_name); in tp_event_has_id()
156 #define for_each_event(sys_dirent, evt_dir, evt_dirent, evt_next) \ argument
157 while (!readdir_r(evt_dir, &evt_dirent, &evt_next) && evt_next) \
169 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local
188 evt_dir = opendir(dir_path); in tracepoint_id_to_path()
189 if (!evt_dir) in tracepoint_id_to_path()
192 for_each_event(sys_dirent, evt_dir, evt_dirent, evt_next) { in tracepoint_id_to_path()
206 closedir(evt_dir); in tracepoint_id_to_path()
227 closedir(evt_dir); in tracepoint_id_to_path()
[all …]