Home
last modified time | relevance | path

Searched refs:nr_cgrps (Results 1 – 6 of 6) sorted by relevance

/linux/tools/perf/tests/
H A Dexpand-cgroup.c25 int nr_cgrps = ARRAY_SIZE(cgrp_name); in test_expand_events()
57 if (evlist->core.nr_entries != nr_events * nr_cgrps) { in test_expand_events()
24 int nr_cgrps = ARRAY_SIZE(cgrp_name); test_expand_events() local
/linux/tools/perf/util/
H A Dbpf_lock_contention.c235 if (con->filters->nr_cgrps) { in lock_contention_prepare()
237 ncgrps = con->filters->nr_cgrps; in lock_contention_prepare()
302 if (con->aggr_mode == LOCK_AGGR_CGROUP || con->filters->nr_cgrps) { in lock_contention_prepare()
373 if (con->filters->nr_cgrps) { in lock_contention_prepare()
378 for (i = 0; i < con->filters->nr_cgrps; i++) in lock_contention_prepare()
H A Dlock-contention.h12 int nr_cgrps; member
/linux/tools/perf/
H A Dbuiltin-lock.c1547 filters.nr_cgrps = 0; in lock_filter_finish()
2485 tmp = realloc(filters.cgrps, (filters.nr_cgrps + 1) * sizeof(*filters.cgrps)); in add_lock_cgroup()
2491 tmp[filters.nr_cgrps++] = cgrp->id; in add_lock_cgroup()
/linux/kernel/cgroup/
H A Dcgroup.c1348 BUG_ON(atomic_read(&root->nr_cgrps)); in cgroup_destroy_root()
2100 atomic_set(&root->nr_cgrps, 1); in init_cgroup_root()
2200 BUG_ON(atomic_read(&root->nr_cgrps) != 1); in cgroup_setup_root()
5583 atomic_dec(&cgrp->root->nr_cgrps); in css_free_rwork_fn()
5915 atomic_inc(&root->nr_cgrps); in cgroup_create()
H A Dcgroup-v1.c697 atomic_read(&ss->root->nr_cgrps), in proc_cgroupstats_show()