Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.c164 static int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) in tp_event_has_id() argument
169 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id()
178 #define for_each_event(dir_path, evt_dir, evt_dirent) \ argument
179 while ((evt_dirent = readdir(evt_dir)) != NULL) \
223 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local
239 evt_dir = opendir(dir_path); in tracepoint_id_to_path()
240 if (!evt_dir) in tracepoint_id_to_path()
243 for_each_event(dir_path, evt_dir, evt_dirent) { in tracepoint_id_to_path()
258 closedir(evt_dir); in tracepoint_id_to_path()
275 closedir(evt_dir); in tracepoint_id_to_path()
[all …]