Home
last modified time | relevance | path

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

/tools/perf/util/
Dparse-events.c156 #define for_each_subsystem(sys_dir, sys_dirent) \ argument
157 while ((sys_dirent = readdir(sys_dir)) != NULL) \
189 DIR *sys_dir, *evt_dir; in tracepoint_id_to_path() local
197 sys_dir = tracing_events__opendir(); in tracepoint_id_to_path()
198 if (!sys_dir) in tracepoint_id_to_path()
201 for_each_subsystem(sys_dir, sys_dirent) { in tracepoint_id_to_path()
225 closedir(sys_dir); in tracepoint_id_to_path()
252 closedir(sys_dir); in tracepoint_id_to_path()
2195 DIR *sys_dir, *evt_dir; in print_tracepoint_events() local
2204 sys_dir = tracing_events__opendir(); in print_tracepoint_events()
[all …]
/tools/perf/tests/
Dparse-events.c1392 DIR *sys_dir; in count_tracepoints() local
1404 sys_dir = opendir(sys_path); in count_tracepoints()
1405 TEST_ASSERT_VAL("Can't open sys dir", sys_dir); in count_tracepoints()
1407 while ((sys_ent = readdir(sys_dir))) { in count_tracepoints()
1417 closedir(sys_dir); in count_tracepoints()