summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2024-11-10 05:50:23 +0300
committerTejun Heo <tj@kernel.org>2024-11-12 22:07:38 +0300
commitc4c9cebe2fb9cdc73e55513de7af7a4f50260e88 (patch)
treead4bed6bb2cbce816b2ad49200828de569c4ee67 /tools/perf/scripts/python/exported-sql-viewer.py
parenta040c351283e3ac75422621ea205b1d8d687e108 (diff)
downloadlinux-c4c9cebe2fb9cdc73e55513de7af7a4f50260e88.tar.xz
cgroup/cpuset: Further optimize code if CONFIG_CPUSETS_V1 not set
Currently the cpuset code uses group_subsys_on_dfl() to check if we are running with cgroup v2. If CONFIG_CPUSETS_V1 isn't set, there is really no need to do this check and we can optimize out some of the unneeded v1 specific code paths. Introduce a new cpuset_v2() and use it to replace the cgroup_subsys_on_dfl() check to further optimize the code. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions