Lines Matching defs:cgroup
29 #include "util/cgroup.h"
146 struct cgroup *cgroup;
3857 * If a global cgroup was set, apply it to all the events without an
3858 * explicit cgroup. I.e.:
3863 * _and_ sched:sched_switch to the 'A' cgroup, while:
3867 * will only set the sched:sched_switch event to the 'A' cgroup, all the
3869 * a cgroup (on the root cgroup, sys wide, etc).
3875 * the syscall ones go to the 'A' cgroup, the sched:sched_switch goes
3876 * to the 'B' cgroup.
3878 * evlist__set_default_cgroup() grabs a reference of the passed cgroup
3879 * only for the evsels still without a cgroup, i.e. evsel->cgroup == NULL.
3881 if (trace->cgroup)
3882 evlist__set_default_cgroup(trace->evlist, trace->cgroup);
4069 cgroup__put(trace->cgroup);
4599 trace->cgroup = evlist__findnew_cgroup(trace->evlist, str);
4777 OPT_CALLBACK('G', "cgroup", &trace, "name", "monitor event in cgroup name only",
4860 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {
4862 "cgroup monitoring only available in system-wide mode");