Searched refs:events_ent (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/tools/perf/util/ |
D | parse-events.c | 567 struct dirent *events_ent; in add_tracepoint_multi_sys() local 577 while (!ret && (events_ent = readdir(events_dir))) { in add_tracepoint_multi_sys() 578 if (!strcmp(events_ent->d_name, ".") in add_tracepoint_multi_sys() 579 || !strcmp(events_ent->d_name, "..") in add_tracepoint_multi_sys() 580 || !strcmp(events_ent->d_name, "enable") in add_tracepoint_multi_sys() 581 || !strcmp(events_ent->d_name, "header_event") in add_tracepoint_multi_sys() 582 || !strcmp(events_ent->d_name, "header_page")) in add_tracepoint_multi_sys() 585 if (!strglobmatch(events_ent->d_name, sys_name)) in add_tracepoint_multi_sys() 588 ret = add_tracepoint_event(list, idx, events_ent->d_name, in add_tracepoint_multi_sys()
|
/Linux-v6.1/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()
|