Searched refs:events_dir (Results 1 – 2 of 2) sorted by relevance
1466 DIR *events_dir; in count_tracepoints() local1469 events_dir = tracing_events__opendir(); in count_tracepoints()1471 TEST_ASSERT_VAL("Can't open events dir", events_dir); in count_tracepoints()1473 while ((events_ent = readdir(events_dir))) { in count_tracepoints()1505 closedir(events_dir); in count_tracepoints()
649 DIR *events_dir; in add_tracepoint_multi_sys() local652 events_dir = tracing_events__opendir(); in add_tracepoint_multi_sys()653 if (!events_dir) { in add_tracepoint_multi_sys()658 while (!ret && (events_ent = readdir(events_dir))) { in add_tracepoint_multi_sys()673 closedir(events_dir); in add_tracepoint_multi_sys()