Home
last modified time | relevance | path

Searched refs:nr_cgroups (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
Dcgroup.c17 int nr_cgroups; variable
104 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()
Dcgroup.h19 extern int nr_cgroups; /* number of explicit cgroups defined */
Dstat-display.c63 if (nr_cgroups) { in print_cgroup()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-stat.c1726 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()
Dbuiltin-record.c2654 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
Dbuiltin-trace.c4901 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {
/kernel/linux/linux-5.10/include/linux/
Dperf_event.h839 int nr_cgroups; /* cgroup evts */ member
/kernel/linux/linux-5.10/kernel/events/
Dcore.c815 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()