Searched refs:nr_cgroups (Results 1 – 8 of 8) 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 extern int nr_cgroups; /* number of explicit cgroups defined */
20 int nr_cgroups; variable159 if (n == nr_cgroups) in add_cgroup()382 nr_cgroups++; in parse_cgroups()389 if (nr_cgroups == 1) { in parse_cgroups()481 nr_cgroups++; in evlist__expand_cgroup()
177 if (nr_cgroups || config->cgroup_list) { in print_cgroup()1160 if (nr_cgroups || config->cgroup_list) in print_metric_headers_std()
2655 (nr_cgroups || stat_config.cgroup_list)) && in cmd_stat()2717 if (nr_cgroups > 0) { in cmd_stat()
1698 if (nr_cgroups > 0 && opts->record_cgroup) { in cmd_top()
3970 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
4860 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {