Home
last modified time | relevance | path

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

/tools/perf/util/
Dparse-events.c555 DIR *events_dir; in add_tracepoint_multi_sys() local
558 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()
/tools/perf/tests/
Dparse-events.c1309 DIR *events_dir; in count_tracepoints() local
1312 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()