Searched refs:events_ent (Results 1 – 2 of 2) sorted by relevance
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | parse-events.c | 433 struct dirent *events_ent; in add_tracepoint_multi_sys() local 443 while (!ret && (events_ent = readdir(events_dir))) { in add_tracepoint_multi_sys() 444 if (!strcmp(events_ent->d_name, ".") in add_tracepoint_multi_sys() 445 || !strcmp(events_ent->d_name, "..") in add_tracepoint_multi_sys() 446 || !strcmp(events_ent->d_name, "enable") in add_tracepoint_multi_sys() 447 || !strcmp(events_ent->d_name, "header_event") in add_tracepoint_multi_sys() 448 || !strcmp(events_ent->d_name, "header_page")) in add_tracepoint_multi_sys() 451 if (!strglobmatch(events_ent->d_name, sys_name)) in add_tracepoint_multi_sys() 454 ret = add_tracepoint_event(list, idx, events_ent->d_name, in add_tracepoint_multi_sys()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
D | parse-events.c | 1121 struct dirent *events_ent; in count_tracepoints() local 1132 while ((events_ent = readdir(events_dir))) { in count_tracepoints() 1137 if (!strcmp(events_ent->d_name, ".") in count_tracepoints() 1138 || !strcmp(events_ent->d_name, "..") in count_tracepoints() 1139 || !strcmp(events_ent->d_name, "enable") in count_tracepoints() 1140 || !strcmp(events_ent->d_name, "header_event") in count_tracepoints() 1141 || !strcmp(events_ent->d_name, "header_page")) in count_tracepoints() 1145 events_path, events_ent->d_name); in count_tracepoints()
|