Searched refs:events_ent (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/tools/perf/util/ |
D | parse-events.c | 668 struct dirent *events_ent; in add_tracepoint_multi_sys() local 678 while (!ret && (events_ent = readdir(events_dir))) { in add_tracepoint_multi_sys() 679 if (!strcmp(events_ent->d_name, ".") in add_tracepoint_multi_sys() 680 || !strcmp(events_ent->d_name, "..") in add_tracepoint_multi_sys() 681 || !strcmp(events_ent->d_name, "enable") in add_tracepoint_multi_sys() 682 || !strcmp(events_ent->d_name, "header_event") in add_tracepoint_multi_sys() 683 || !strcmp(events_ent->d_name, "header_page")) in add_tracepoint_multi_sys() 686 if (!strglobmatch(events_ent->d_name, sys_name)) in add_tracepoint_multi_sys() 689 ret = add_tracepoint_event(list, idx, events_ent->d_name, in add_tracepoint_multi_sys()
|
/linux-5.19.10/tools/perf/tests/ |
D | parse-events.c | 1465 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()
|