Home
last modified time | relevance | path

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

/tools/perf/tests/
Dparse-events.c1466 DIR *events_dir; in count_tracepoints() local
1469 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()
/tools/perf/util/
Dparse-events.c649 DIR *events_dir; in add_tracepoint_multi_sys() local
652 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()