Lines Matching refs:evlist

38 static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str)  in evlist__find_cgroup()  argument
44 evlist__for_each_entry(evlist, counter) { in evlist__find_cgroup()
83 struct cgroup *evlist__findnew_cgroup(struct evlist *evlist, const char *name) in evlist__findnew_cgroup() argument
85 struct cgroup *cgroup = evlist__find_cgroup(evlist, name); in evlist__findnew_cgroup()
90 static int add_cgroup(struct evlist *evlist, const char *str) in add_cgroup() argument
93 struct cgroup *cgrp = evlist__findnew_cgroup(evlist, str); in add_cgroup()
103 evlist__for_each_entry(evlist, counter) { in add_cgroup()
144 void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup() argument
148 evlist__for_each_entry(evlist, evsel) in evlist__set_default_cgroup()
155 struct evlist *evlist = *(struct evlist **)opt->value; in parse_cgroups() local
162 if (list_empty(&evlist->core.entries)) { in parse_cgroups()
177 ret = add_cgroup(evlist, s); in parse_cgroups()
191 evlist__for_each_entry(evlist, counter) { in parse_cgroups()
204 int evlist__expand_cgroup(struct evlist *evlist, const char *str, in evlist__expand_cgroup() argument
207 struct evlist *orig_list, *tmp_list; in evlist__expand_cgroup()
214 if (evlist->core.nr_entries == 0) { in evlist__expand_cgroup()
227 perf_evlist__splice_list_tail(orig_list, &evlist->core.entries); in evlist__expand_cgroup()
228 evlist->core.nr_entries = 0; in evlist__expand_cgroup()
283 perf_evlist__splice_list_tail(evlist, &tmp_list->core.entries); in evlist__expand_cgroup()