Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Dtracepoint.h10 #define for_each_event(dir_path, evt_dir, evt_dirent) \ argument
11 while ((evt_dirent = readdir(evt_dir)) != NULL) \
12 if (evt_dirent->d_type == DT_DIR && \
13 (strcmp(evt_dirent->d_name, ".")) && \
14 (strcmp(evt_dirent->d_name, "..")) && \
15 (!tp_event_has_id(dir_path, evt_dirent)))
Dtracepoint.c32 struct dirent *sys_dirent, *evt_dirent; in is_valid_tracepoint() local
48 for_each_event(dir_path, evt_dir, evt_dirent) { in is_valid_tracepoint()
50 sys_dirent->d_name, evt_dirent->d_name); in is_valid_tracepoint()
Dprint-events.c70 struct dirent *sys_dirent, *evt_dirent; in print_tracepoint_events() local
100 for_each_event(dir_path, evt_dir, evt_dirent) { in print_tracepoint_events()
102 !strglobmatch(evt_dirent->d_name, event_glob)) in print_tracepoint_events()
111 sys_dirent->d_name, evt_dirent->d_name); in print_tracepoint_events()
Dtrace-event-info.c415 struct dirent *sys_dirent, *evt_dirent; in tracepoint_id_to_path() local
434 for_each_event(dir_path, evt_dir, evt_dirent) { in tracepoint_id_to_path()
437 evt_dirent->d_name); in tracepoint_id_to_path()
460 MAX_EVENT_LENGTH, evt_dirent->d_name) < 0) { in tracepoint_id_to_path()