[LTP] [PATCH v8 2/2] tst_cgroup.c: Add a cgroup pseudo controller

Cyril Hrubis chrubis@suse.cz
Fri Apr 21 12:58:12 CEST 2023


Hi!
> diff --git a/lib/tst_cgroup.c b/lib/tst_cgroup.c
> index 77575431d..6a70bf4b4 100644
> --- a/lib/tst_cgroup.c
> +++ b/lib/tst_cgroup.c
> @@ -94,9 +94,10 @@ enum cgroup_ctrl_indx {
>  	CTRL_MISC,
>  	CTRL_PERFEVENT,
>  	CTRL_DEBUG,
> -	CTRL_RDMA
> +	CTRL_RDMA,
> +	CTRL_PSEUDO

I wonder if PSEUDO is the right name here. Maybe CTRL_BASE as we do not
mount any controller to access the control files.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list