Lines Matching refs:els
25 void evlist_streams__delete(struct evlist_streams *els) in evlist_streams__delete() argument
27 evsel_streams__delete(els->ev_streams, els->nr_evsel); in evlist_streams__delete()
28 free(els); in evlist_streams__delete()
34 struct evlist_streams *els; in evlist_streams__new() local
37 els = zalloc(sizeof(*els)); in evlist_streams__new()
38 if (!els) in evlist_streams__new()
43 free(els); in evlist_streams__new()
58 els->ev_streams = es; in evlist_streams__new()
59 els->nr_evsel = nr_evsel; in evlist_streams__new()
60 return els; in evlist_streams__new()
129 struct evlist_streams *els) in evlist__init_callchain_streams() argument
131 struct evsel_streams *es = els->ev_streams; in evlist__init_callchain_streams()
135 BUG_ON(els->nr_evsel < evlist->core.nr_entries); in evlist__init_callchain_streams()
153 struct evlist_streams *els = evlist_streams__new(nr_evsel, in evlist__create_streams() local
156 if (!els) in evlist__create_streams()
159 ret = evlist__init_callchain_streams(evlist, els); in evlist__create_streams()
161 evlist_streams__delete(els); in evlist__create_streams()
165 return els; in evlist__create_streams()
168 struct evsel_streams *evsel_streams__entry(struct evlist_streams *els, in evsel_streams__entry() argument
171 struct evsel_streams *es = els->ev_streams; in evsel_streams__entry()
173 for (int i = 0; i < els->nr_evsel; i++) { in evsel_streams__entry()