Lines Matching refs:evlist
23 struct perf_evlist *evlist = perf_evlist__new(); in test__syscall_openat_tp_fields() local
28 if (evlist == NULL) { in test__syscall_openat_tp_fields()
39 perf_evlist__add(evlist, evsel); in test__syscall_openat_tp_fields()
41 err = perf_evlist__create_maps(evlist, &opts.target); in test__syscall_openat_tp_fields()
49 thread_map__set_pid(evlist->threads, 0, getpid()); in test__syscall_openat_tp_fields()
51 err = perf_evlist__open(evlist); in test__syscall_openat_tp_fields()
58 err = perf_evlist__mmap(evlist, UINT_MAX, false); in test__syscall_openat_tp_fields()
65 perf_evlist__enable(evlist); in test__syscall_openat_tp_fields()
75 for (i = 0; i < evlist->nr_mmaps; i++) { in test__syscall_openat_tp_fields()
78 while ((event = perf_evlist__mmap_read(evlist, i)) != NULL) { in test__syscall_openat_tp_fields()
86 perf_evlist__mmap_consume(evlist, i); in test__syscall_openat_tp_fields()
109 perf_evlist__poll(evlist, 10); in test__syscall_openat_tp_fields()
119 perf_evlist__delete(evlist); in test__syscall_openat_tp_fields()