Lines Matching refs:nr_evsel
17 static void evsel_streams__delete(struct evsel_streams *es, int nr_evsel)
19 for (int i = 0; i < nr_evsel; i++)
27 evsel_streams__delete(els->ev_streams, els->nr_evsel);
31 static struct evlist_streams *evlist_streams__new(int nr_evsel,
41 es = calloc(nr_evsel, sizeof(struct evsel_streams));
47 for (int i = 0; i < nr_evsel; i++) {
59 els->nr_evsel = nr_evsel;
63 evsel_streams__delete(es, nr_evsel);
135 BUG_ON(els->nr_evsel < evlist->core.nr_entries);
152 int nr_evsel = evlist->core.nr_entries, ret = -1;
153 struct evlist_streams *els = evlist_streams__new(nr_evsel,
173 for (int i = 0; i < els->nr_evsel; i++) {