]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cgroup: selftests: Move cgroup_util into its own library
authorJames Houghton <jthoughton@google.com>
Thu, 8 May 2025 18:46:45 +0000 (18:46 +0000)
committerSean Christopherson <seanjc@google.com>
Fri, 16 May 2025 18:45:15 +0000 (11:45 -0700)
commit2c754a84ff16ae835cea470c4146fabe94fa129f
treee846579d4119175353446cd21c6017f2ac9d5a22
parent3a7f9e518c6a83d54c84c101e23ffc8aa12df139
cgroup: selftests: Move cgroup_util into its own library

KVM selftests will soon need to use some of the cgroup creation and
deletion functionality from cgroup_util.

Suggested-by: David Matlack <dmatlack@google.com>
Signed-off-by: James Houghton <jthoughton@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20250508184649.2576210-5-jthoughton@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/cgroup/Makefile
tools/testing/selftests/cgroup/lib/cgroup_util.c [moved from tools/testing/selftests/cgroup/cgroup_util.c with 99% similarity]
tools/testing/selftests/cgroup/lib/include/cgroup_util.h [moved from tools/testing/selftests/cgroup/cgroup_util.h with 99% similarity]
tools/testing/selftests/cgroup/lib/libcgroup.mk [new file with mode: 0644]