Lines Matching refs:evlist
22 struct perf_evlist *evlist = perf_evlist__new(); in test__syscall_open_tp_fields() local
27 if (evlist == NULL) { in test__syscall_open_tp_fields()
38 perf_evlist__add(evlist, evsel); in test__syscall_open_tp_fields()
40 err = perf_evlist__create_maps(evlist, &opts.target); in test__syscall_open_tp_fields()
48 evlist->threads->map[0] = getpid(); in test__syscall_open_tp_fields()
50 err = perf_evlist__open(evlist); in test__syscall_open_tp_fields()
57 err = perf_evlist__mmap(evlist, UINT_MAX, false); in test__syscall_open_tp_fields()
64 perf_evlist__enable(evlist); in test__syscall_open_tp_fields()
74 for (i = 0; i < evlist->nr_mmaps; i++) { in test__syscall_open_tp_fields()
77 while ((event = perf_evlist__mmap_read(evlist, i)) != NULL) { in test__syscall_open_tp_fields()
85 perf_evlist__mmap_consume(evlist, i); in test__syscall_open_tp_fields()
108 perf_evlist__poll(evlist, 10); in test__syscall_open_tp_fields()
118 perf_evlist__delete(evlist); in test__syscall_open_tp_fields()