Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/util/
Dtracepoint.h9 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) \
Dtracepoint.c14 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()
Dtrace-event-info.c407 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()
Dparse-events.c585 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()