dir_path 162 tools/perf/util/parse-events.c static int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) dir_path 167 tools/perf/util/parse-events.c snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); dir_path 176 tools/perf/util/parse-events.c #define for_each_event(dir_path, evt_dir, evt_dirent) \ dir_path 181 tools/perf/util/parse-events.c (!tp_event_has_id(dir_path, evt_dirent))) dir_path 195 tools/perf/util/parse-events.c char *dir_path; dir_path 202 tools/perf/util/parse-events.c dir_path = get_events_file(sys_dirent->d_name); dir_path 203 tools/perf/util/parse-events.c if (!dir_path) dir_path 205 tools/perf/util/parse-events.c evt_dir = opendir(dir_path); dir_path 209 tools/perf/util/parse-events.c for_each_event(dir_path, evt_dir, evt_dirent) { dir_path 211 tools/perf/util/parse-events.c scnprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, dir_path 223 tools/perf/util/parse-events.c put_events_file(dir_path); dir_path 249 tools/perf/util/parse-events.c put_events_file(dir_path); dir_path 2199 tools/perf/util/parse-events.c char *dir_path; dir_path 2220 tools/perf/util/parse-events.c dir_path = get_events_file(sys_dirent->d_name); dir_path 2221 tools/perf/util/parse-events.c if (!dir_path) dir_path 2223 tools/perf/util/parse-events.c evt_dir = opendir(dir_path); dir_path 2227 tools/perf/util/parse-events.c for_each_event(dir_path, evt_dir, evt_dirent) { dir_path 2242 tools/perf/util/parse-events.c put_events_file(dir_path); dir_path 2249 tools/perf/util/parse-events.c put_events_file(dir_path); dir_path 2297 tools/perf/util/parse-events.c char *dir_path; dir_path 2304 tools/perf/util/parse-events.c dir_path = get_events_file(sys_dirent->d_name); dir_path 2305 tools/perf/util/parse-events.c if (!dir_path) dir_path 2307 tools/perf/util/parse-events.c evt_dir = opendir(dir_path); dir_path 2311 tools/perf/util/parse-events.c for_each_event(dir_path, evt_dir, evt_dirent) { dir_path 2322 tools/perf/util/parse-events.c put_events_file(dir_path);