Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/perf/util/
H A 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()
H A Dcgroup.h19 extern int nr_cgroups; /* number of explicit cgroups defined */
H A Dstat-display.c63 if (nr_cgroups) { in print_cgroup()
/OK3568_Linux_fs/kernel/tools/perf/
H A 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()
H A Dbuiltin-record.c2654 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
H A Dbuiltin-trace.c4895 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {
/OK3568_Linux_fs/kernel/include/linux/
H A Dperf_event.h847 int nr_cgroups; /* cgroup evts */ member
/OK3568_Linux_fs/kernel/kernel/events/
H A Dcore.c779 if (!task || !ctx->nr_cgroups) in perf_cgroup_set_timestamp()
816 WARN_ON_ONCE(cpuctx->ctx.nr_cgroups == 0); in perf_cgroup_switch()
1018 if (ctx->nr_cgroups++) in perf_cgroup_event_enable()
1039 if (--ctx->nr_cgroups) in perf_cgroup_event_disable()