Searched refs:nr_cgroups (Results 1 – 10 of 10) sorted by relevance
62 skel->rodata->num_events = evlist->core.nr_entries / nr_cgroups; in bperf_load_program()64 BUG_ON(evlist->core.nr_entries % nr_cgroups != 0); in bperf_load_program()67 map_size = total_cpus * evlist->core.nr_entries / nr_cgroups; in bperf_load_program()69 bpf_map__set_max_entries(skel->maps.cgrp_idx, nr_cgroups); in bperf_load_program()71 map_size = evlist->core.nr_entries / nr_cgroups; in bperf_load_program()
20 int nr_cgroups; variable159 if (n == nr_cgroups) in add_cgroup()369 nr_cgroups++; in parse_cgroups()376 if (nr_cgroups == 1) { in parse_cgroups()468 nr_cgroups++; in evlist__expand_cgroup()
20 extern int nr_cgroups; /* number of explicit cgroups defined */
67 if (nr_cgroups) { in print_cgroup()
1911 if (nr_cgroups || !target__has_cpu(&target)) { in add_default_attributes()2420 (nr_cgroups || stat_config.cgroup_list)) && in cmd_stat()2449 if (nr_cgroups > 0) { in cmd_stat()
1656 if (nr_cgroups > 0 && opts->record_cgroup) { in cmd_top()
3785 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
4968 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {
854 int nr_cgroups; /* cgroup evts */ member
815 WARN_ON_ONCE(!ctx->nr_cgroups); in perf_cgroup_set_timestamp()847 WARN_ON_ONCE(cpuctx->ctx.nr_cgroups == 0); in perf_cgroup_switch()970 if (ctx->nr_cgroups++) in perf_cgroup_event_enable()992 if (--ctx->nr_cgroups) in perf_cgroup_event_disable()