Searched refs:events_dir (Results 1 – 2 of 2) sorted by relevance
601 DIR *events_dir; in add_tracepoint_multi_sys() local604 events_dir = tracing_events__opendir(); in add_tracepoint_multi_sys()605 if (!events_dir) { in add_tracepoint_multi_sys()610 while (!ret && (events_ent = readdir(events_dir))) { in add_tracepoint_multi_sys()625 closedir(events_dir); in add_tracepoint_multi_sys()
1382 DIR *events_dir; in count_tracepoints() local1385 events_dir = tracing_events__opendir(); in count_tracepoints()1387 TEST_ASSERT_VAL("Can't open events dir", events_dir); in count_tracepoints()1389 while ((events_ent = readdir(events_dir))) { in count_tracepoints()1421 closedir(events_dir); in count_tracepoints()