Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dparse-events.c610 struct dirent *events_ent; in add_tracepoint_multi_sys() local
620 while (!ret && (events_ent = readdir(events_dir))) { in add_tracepoint_multi_sys()
621 if (!strcmp(events_ent->d_name, ".") in add_tracepoint_multi_sys()
622 || !strcmp(events_ent->d_name, "..") in add_tracepoint_multi_sys()
623 || !strcmp(events_ent->d_name, "enable") in add_tracepoint_multi_sys()
624 || !strcmp(events_ent->d_name, "header_event") in add_tracepoint_multi_sys()
625 || !strcmp(events_ent->d_name, "header_page")) in add_tracepoint_multi_sys()
628 if (!strglobmatch(events_ent->d_name, sys_name)) in add_tracepoint_multi_sys()
631 ret = add_tracepoint_event(list, idx, events_ent->d_name, in add_tracepoint_multi_sys()
/openbmc/linux/tools/perf/tests/
H A Dparse-events.c1720 struct dirent *events_ent; in count_tracepoints() local
1728 while ((events_ent = readdir(events_dir))) { in count_tracepoints()
1733 if (!strcmp(events_ent->d_name, ".") in count_tracepoints()
1734 || !strcmp(events_ent->d_name, "..") in count_tracepoints()
1735 || !strcmp(events_ent->d_name, "enable") in count_tracepoints()
1736 || !strcmp(events_ent->d_name, "header_event") in count_tracepoints()
1737 || !strcmp(events_ent->d_name, "header_page")) in count_tracepoints()
1740 sys_path = get_events_file(events_ent->d_name); in count_tracepoints()