diff options
author | 2015-09-18 11:56:28 -0400 | |
---|---|---|
committer | 2015-09-18 11:56:28 -0400 | |
commit | 49d1dc4b81797f88270832b11e9f73809e7e7209 (patch) | |
tree | ff6548a57a57834e533a4404ddabf30139060ece /tools/perf/scripts/python/export-to-postgresql.py | |
parent | jump_label: make static_key_enabled() work on static_key_true/false types too (diff) | |
download | wireguard-linux-49d1dc4b81797f88270832b11e9f73809e7e7209.tar.xz wireguard-linux-49d1dc4b81797f88270832b11e9f73809e7e7209.zip |
cgroup: implement static_key based cgroup_subsys_enabled() and cgroup_subsys_on_dfl()
Whether a subsys is enabled and attached to the default hierarchy
seldom changes and may be tested in the hot paths. This patch
implements static_key based cgroup_subsys_enabled() and
cgroup_subsys_on_dfl() tests.
The following patches will update the users and remove duplicate
mechanisms.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions