Home
last modified time | relevance | path

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

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dparse-events.c126 #define for_each_subsystem(sys_dir, sys_dirent, sys_next) \ argument
127 while (!readdir_r(sys_dir, &sys_dirent, &sys_next) && sys_next) \
128 if (sys_dirent.d_type == DT_DIR && \
129 (strcmp(sys_dirent.d_name, ".")) && \
130 (strcmp(sys_dirent.d_name, "..")))
147 #define for_each_event(sys_dirent, evt_dir, evt_dirent, evt_next) \ argument
152 (!tp_event_has_id(&sys_dirent, &evt_dirent)))
161 struct dirent *sys_next, *evt_next, sys_dirent, evt_dirent; in tracepoint_id_to_path() local
175 for_each_subsystem(sys_dir, sys_dirent, sys_next) { in tracepoint_id_to_path()
178 sys_dirent.d_name); in tracepoint_id_to_path()
[all …]