Home
last modified time | relevance | path

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

/linux-5.19.10/tools/perf/util/
Dbpf_counter_cgroup.c62 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()
Dcgroup.c20 int nr_cgroups; variable
159 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()
Dcgroup.h20 extern int nr_cgroups; /* number of explicit cgroups defined */
Dstat-display.c67 if (nr_cgroups) { in print_cgroup()
/linux-5.19.10/tools/perf/
Dbuiltin-stat.c1911 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()
Dbuiltin-top.c1656 if (nr_cgroups > 0 && opts->record_cgroup) { in cmd_top()
Dbuiltin-record.c3785 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
Dbuiltin-trace.c4968 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {
/linux-5.19.10/include/linux/
Dperf_event.h854 int nr_cgroups; /* cgroup evts */ member
/linux-5.19.10/kernel/events/
Dcore.c815 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()