Lines Matching refs:evlist
5 #include "evlist.h"
556 struct perf_evlist evlist;
571 perf_evlist__init(&pevlist->evlist, cpus, threads);
577 perf_evlist__exit(&pevlist->evlist);
584 struct perf_evlist *evlist = &pevlist->evlist;
593 if (perf_evlist__mmap(evlist, pages, overwrite) < 0) {
605 struct perf_evlist *evlist = &pevlist->evlist;
612 n = poll(evlist->pollfd, evlist->nr_fds, timeout);
624 struct perf_evlist *evlist = &pevlist->evlist;
628 for (i = 0; i < evlist->nr_fds; ++i) {
630 FILE *fp = fdopen(evlist->pollfd[i].fd, "r");
656 struct perf_evlist *evlist = &pevlist->evlist;
665 evsel->idx = evlist->nr_entries;
666 perf_evlist__add(evlist, evsel);
668 return Py_BuildValue("i", evlist->nr_entries);
674 struct perf_evlist *evlist = &pevlist->evlist;
684 event = perf_evlist__mmap_read(evlist, cpu);
693 first = list_entry(evlist->entries.next, struct perf_evsel, node);
745 return pevlist->evlist.nr_entries;
753 if (i >= pevlist->evlist.nr_entries)
756 list_for_each_entry(pos, &pevlist->evlist.entries, node)
772 .tp_name = "perf.evlist",
879 PyModule_AddObject(module, "evlist", (PyObject*)&pyrf_evlist__type);