Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.c178 #define for_each_event(dir_path, evt_dir, evt_dirent) \ argument
179 while ((evt_dirent = readdir(evt_dir)) != NULL) \
180 if (evt_dirent->d_type == DT_DIR && \
181 (strcmp(evt_dirent->d_name, ".")) && \
182 (strcmp(evt_dirent->d_name, "..")) && \
183 (!tp_event_has_id(dir_path, evt_dirent)))
224 struct dirent *sys_dirent, *evt_dirent; in tracepoint_id_to_path() local
243 for_each_event(dir_path, evt_dir, evt_dirent) { in tracepoint_id_to_path()
246 evt_dirent->d_name); in tracepoint_id_to_path()
267 if (asprintf(&path->name, "%.*s", MAX_EVENT_LENGTH, evt_dirent->d_name) < 0) { in tracepoint_id_to_path()
[all …]