All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/6] Expand Cgroup shell library
@ 2022-01-05 10:00 Luke Nowakowski-Krijger
  2022-01-05 10:00 ` [LTP] [PATCH 1/6] API/cgroup: Modify tst_cgroup_print_config for easier parsing and consumption Luke Nowakowski-Krijger
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Luke Nowakowski-Krijger @ 2022-01-05 10:00 UTC (permalink / raw)
  To: ltp

This patchset aims to expand the cgroup_lib shell library to simplify
and centralize the whole mounting and cleanup process that, with all the
different versions and mounting schemes, can get confusing and rather
redundant.

So the aim here is to centralize all the functionality to the already
existing cgroup C API which handles a lot of the corner cases and
complexity while still getting to use it from a shell environment which
some developers probably prefer to write their tests in. This also
seems important to make it easier to reconfigure the current tests
to work under cgroup v2 controllers, as well as for developers to write
tests for cgroup v2 controllers for which there doesen't seem to be very
much coverage at the moment.

Luke Nowakowski-Krijger (6):
  API/cgroup: Modify tst_cgroup_print_config for easier parsing and
    consumption
  API/cgroup: Add cgroup_find_root helper function
  API/cgroup: Add option for specific pid to tst_cgroup_opts
  API/cgroup: Implement tst_cgroup_load_config()
  tools: Implement tst_cgctl binary utility
  controllers: Expand cgroup_lib shell library

 include/tst_cgroup.h                       |   7 +-
 lib/tst_cgroup.c                           | 165 ++++++++++++++++++++-
 testcases/kernel/controllers/cgroup_lib.sh | 129 ++++++++++++++--
 tools/cgroup/Makefile                      |   7 +
 tools/cgroup/tst_cgctl.c                   |  69 +++++++++
 5 files changed, 355 insertions(+), 22 deletions(-)
 create mode 100644 tools/cgroup/Makefile
 create mode 100644 tools/cgroup/tst_cgctl.c

-- 
2.32.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-01-14  9:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 10:00 [LTP] [PATCH 0/6] Expand Cgroup shell library Luke Nowakowski-Krijger
2022-01-05 10:00 ` [LTP] [PATCH 1/6] API/cgroup: Modify tst_cgroup_print_config for easier parsing and consumption Luke Nowakowski-Krijger
2022-01-05 10:00 ` [LTP] [PATCH 2/6] API/cgroup: Add cgroup_find_root helper function Luke Nowakowski-Krijger
2022-01-12 10:46   ` Li Wang
2022-01-05 10:00 ` [LTP] [PATCH 3/6] API/cgroup: Add option for specific pid to tst_cgroup_opts Luke Nowakowski-Krijger
2022-01-05 10:00 ` [LTP] [PATCH 4/6] API/cgroup: Implement tst_cgroup_load_config() Luke Nowakowski-Krijger
2022-01-14  6:57   ` Li Wang
2022-01-14  9:32     ` Luke Nowakowski-Krijger
2022-01-05 10:00 ` [LTP] [PATCH 5/6] tools: Implement tst_cgctl binary utility Luke Nowakowski-Krijger
2022-01-11 12:42   ` Li Wang
2022-01-12  9:46     ` Luke Nowakowski-Krijger
2022-01-12 10:13       ` Li Wang
2022-01-05 10:00 ` [LTP] [PATCH 6/6] controllers: Expand cgroup_lib shell library Luke Nowakowski-Krijger
2022-01-11  9:38   ` Li Wang
2022-01-11 10:10     ` Li Wang
2022-01-11 10:50   ` Li Wang
2022-01-11 12:17     ` Luke Nowakowski-Krijger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.