Home
last modified time | relevance | path

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

/external/linux-tools-perf/util/
Dparse-events.c135 #define for_each_subsystem(sys_dir, sys_dirent, sys_next) \ argument
136 while (!readdir_r(sys_dir, &sys_dirent, &sys_next) && sys_next) \
137 if (sys_dirent.d_type == DT_DIR && \
138 (strcmp(sys_dirent.d_name, ".")) && \
139 (strcmp(sys_dirent.d_name, "..")))
156 #define for_each_event(sys_dirent, evt_dir, evt_dirent, evt_next) \ argument
161 (!tp_event_has_id(&sys_dirent, &evt_dirent)))
170 struct dirent *sys_next, *evt_next, sys_dirent, evt_dirent; in tracepoint_id_to_path() local
184 for_each_subsystem(sys_dir, sys_dirent, sys_next) { in tracepoint_id_to_path()
187 sys_dirent.d_name); in tracepoint_id_to_path()
[all …]