Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.c648 struct dirent *events_ent; in add_tracepoint_multi_sys() local
658 while (!ret && (events_ent = readdir(events_dir))) { in add_tracepoint_multi_sys()
659 if (!strcmp(events_ent->d_name, ".") in add_tracepoint_multi_sys()
660 || !strcmp(events_ent->d_name, "..") in add_tracepoint_multi_sys()
661 || !strcmp(events_ent->d_name, "enable") in add_tracepoint_multi_sys()
662 || !strcmp(events_ent->d_name, "header_event") in add_tracepoint_multi_sys()
663 || !strcmp(events_ent->d_name, "header_page")) in add_tracepoint_multi_sys()
666 if (!strglobmatch(events_ent->d_name, sys_name)) in add_tracepoint_multi_sys()
669 ret = add_tracepoint_event(list, idx, events_ent->d_name, in add_tracepoint_multi_sys()
/kernel/linux/linux-5.10/tools/perf/tests/
Dparse-events.c1465 struct dirent *events_ent; in count_tracepoints() local
1473 while ((events_ent = readdir(events_dir))) { in count_tracepoints()
1478 if (!strcmp(events_ent->d_name, ".") in count_tracepoints()
1479 || !strcmp(events_ent->d_name, "..") in count_tracepoints()
1480 || !strcmp(events_ent->d_name, "enable") in count_tracepoints()
1481 || !strcmp(events_ent->d_name, "header_event") in count_tracepoints()
1482 || !strcmp(events_ent->d_name, "header_page")) in count_tracepoints()
1485 sys_path = get_events_file(events_ent->d_name); in count_tracepoints()