Searched refs:evt_dir (Results 1 – 3 of 3) sorted by relevance
/linux/tools/perf/util/ |
H A D | tracepoint.c | 14 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) in tp_event_has_id() 19 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id() 12 tp_event_has_id(const char * dir_path,struct dirent * evt_dir) tp_event_has_id() argument 31 DIR *sys_dir, *evt_dir; is_valid_tracepoint() local
|
H A D | tracepoint.h | 9 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir); 11 #define for_each_event(dir_path, evt_dir, evt_dirent) \ 12 while ((evt_dirent = readdir(evt_dir)) != NULL) \ 10 for_each_event(dir_path,evt_dir,evt_dirent) global() argument
|
H A D | trace-event-info.c | 407 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local 423 evt_dir = opendir(dir_path); in tracepoint_id_to_path() 424 if (!evt_dir) in tracepoint_id_to_path() 427 for_each_event(dir_path, evt_dir, evt_dirent) { in tracepoint_id_to_path() 442 closedir(evt_dir); in tracepoint_id_to_path() 461 closedir(evt_dir); in tracepoint_id_to_path()
|