[LTP] [PATCH v1 2/4] sched/psi: Add psi_multiple_trigger01 test
Cyril Hrubis
chrubis@suse.cz
Fri Nov 27 13:56:38 CET 2026
Hi!
> > +static struct tst_test test = {
> > + .tcnt = ARRAY_SIZE(tests),
> > + .test = run,
> > + .setup = setup,
> > + .needs_root = 1,
> > + .caps = (struct tst_cap []) {
> > + TST_CAP(TST_CAP_REQ, CAP_SYS_RESOURCE),
> > + {}
> > + },
> > + .needs_kconfigs = (const char *const[]) {
> > + "CONFIG_PSI=y",
> > + NULL
> > + },
>
> Here as well .save_restore
Scratch that please, it's pretty clear from the code that the triggers
are per fd and destroyed on close()
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list