Searched refs:nr_cgroups (Results 1 – 8 of 8) sorted by relevance
17 int nr_cgroups; variable104 if (n == nr_cgroups) in add_cgroup()183 nr_cgroups++; in parse_cgroups()190 if (nr_cgroups == 1) { in parse_cgroups()273 nr_cgroups++; in evlist__expand_cgroup()
19 extern int nr_cgroups; /* number of explicit cgroups defined */
63 if (nr_cgroups) { in print_cgroup()
1726 if (nr_cgroups || !target__has_cpu(&target)) { in add_default_attributes()2215 stat_config.aggr_mode != AGGR_THREAD) || nr_cgroups) && in cmd_stat()2230 if (nr_cgroups > 0) { in cmd_stat()
2654 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
4901 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {
839 int nr_cgroups; /* cgroup evts */ member
815 if (!task || !ctx->nr_cgroups) in perf_cgroup_set_timestamp()853 WARN_ON_ONCE(cpuctx->ctx.nr_cgroups == 0); in perf_cgroup_switch()1047 if (ctx->nr_cgroups++) in perf_cgroup_event_enable()1068 if (--ctx->nr_cgroups) in perf_cgroup_event_disable()