Searched refs:events_dir (Results 1 – 2 of 2) sorted by relevance
434 DIR *events_dir; in add_tracepoint_multi_sys() local437 events_dir = opendir(tracing_events_path); in add_tracepoint_multi_sys()438 if (!events_dir) { in add_tracepoint_multi_sys()443 while (!ret && (events_ent = readdir(events_dir))) { in add_tracepoint_multi_sys()458 closedir(events_dir); in add_tracepoint_multi_sys()
1122 DIR *events_dir; in count_tracepoints() local1128 events_dir = opendir(events_path); in count_tracepoints()1130 TEST_ASSERT_VAL("Can't open events dir", events_dir); in count_tracepoints()1132 while ((events_ent = readdir(events_dir))) { in count_tracepoints()1163 closedir(events_dir); in count_tracepoints()