Searched refs:events_dir (Results 1 – 2 of 2) sorted by relevance
555 DIR *events_dir; in add_tracepoint_multi_sys() local558 events_dir = opendir(tracing_events_path); in add_tracepoint_multi_sys()559 if (!events_dir) { in add_tracepoint_multi_sys()564 while (!ret && (events_ent = readdir(events_dir))) { in add_tracepoint_multi_sys()579 closedir(events_dir); in add_tracepoint_multi_sys()
1309 DIR *events_dir; in count_tracepoints() local1312 events_dir = opendir(tracing_events_path); in count_tracepoints()1314 TEST_ASSERT_VAL("Can't open events dir", events_dir); in count_tracepoints()1316 while ((events_ent = readdir(events_dir))) { in count_tracepoints()1347 closedir(events_dir); in count_tracepoints()