Searched refs:evt_dir (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/perf/util/ |
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) \ argument 12 while ((evt_dirent = readdir(evt_dir)) != NULL) \
|
D | tracepoint.c | 14 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) in tp_event_has_id() argument 19 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id()
|
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()
|
D | parse-events.c | 585 DIR *evt_dir; in add_tracepoint_multi_event() local 593 evt_dir = opendir(evt_path); in add_tracepoint_multi_event() 594 if (!evt_dir) { in add_tracepoint_multi_event() 600 while (!ret && (evt_ent = readdir(evt_dir))) { in add_tracepoint_multi_event() 622 closedir(evt_dir); in add_tracepoint_multi_event()
|