Lines Matching defs:cgroup
24 #include "util/cgroup.h"
144 struct cgroup *cgroup;
3933 * If a global cgroup was set, apply it to all the events without an
3934 * explicit cgroup. I.e.:
3939 * _and_ sched:sched_switch to the 'A' cgroup, while:
3943 * will only set the sched:sched_switch event to the 'A' cgroup, all the
3945 * a cgroup (on the root cgroup, sys wide, etc).
3951 * the syscall ones go to the 'A' cgroup, the sched:sched_switch goes
3952 * to the 'B' cgroup.
3954 * evlist__set_default_cgroup() grabs a reference of the passed cgroup
3955 * only for the evsels still without a cgroup, i.e. evsel->cgroup == NULL.
3957 if (trace->cgroup)
3958 evlist__set_default_cgroup(trace->evlist, trace->cgroup);
4146 cgroup__put(trace->cgroup);
4670 trace->cgroup = evlist__findnew_cgroup(trace->evlist, str);
4826 OPT_CALLBACK('G', "cgroup", &trace, "name", "monitor event in cgroup name only",
4901 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {
4903 "cgroup monitoring only available in system-wide mode");