Home
last modified time | relevance | path

Searched refs:sys_dir (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dtracepoint.h18 #define for_each_subsystem(sys_dir, sys_dirent) \ argument
19 while ((sys_dirent = readdir(sys_dir)) != NULL) \
Dtrace-event-info.c407 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local
415 sys_dir = tracing_events__opendir(); in tracepoint_id_to_path()
416 if (!sys_dir) in tracepoint_id_to_path()
419 for_each_subsystem(sys_dir, sys_dirent) { in tracepoint_id_to_path()
443 closedir(sys_dir); in tracepoint_id_to_path()
466 closedir(sys_dir); in tracepoint_id_to_path()
/linux-6.12.1/tools/perf/tests/
Dparse-events.c1834 DIR *sys_dir; in count_tracepoints() local
1846 sys_dir = opendir(sys_path); in count_tracepoints()
1847 TEST_ASSERT_VAL("Can't open sys dir", sys_dir); in count_tracepoints()
1849 while ((sys_ent = readdir(sys_dir))) { in count_tracepoints()
1859 closedir(sys_dir); in count_tracepoints()