redhat/configs: Enable sched and rtapp RV monitors
Fixes: RHELMISC-17926
RV has two monitors collections currently disabled:
- sched - validate the scheduler behaviour
- rtapp - check for common problems with real-time application
Enable as generic all monitors not requiring debug-only features (e.g. preemptirq tracepoints).
The sched collection contains 3 per-task monitors so requires to extend the default array size in the task struct (from 2 to 3) altering RV_PER_TASK_MONITORS.
The nrp monitor is unstable on aarch64 so it is kept disabled on that architecture. Likewise, the pagefault monitor, the only rtapp monitor not requiring debug features, is supported only on x86 and riscv so the entire collection isn't available in other architectures.
Monitors like sts and sleep require TRACE_IRQFLAGS which is only available in debug kernels.
Select the monitors only on those flavours.
This series starts consolidating CONFIG_RV_PER_TASK_MONITORS as common between rhel and fedora before applying config changes.
Note: enabling LTL monitors (rtapp) and changing RV_PER_TASK_MONITORS
increases the task_struct size of about 56 bytes (out of 10k, 0.6% increase).
No other side effect is expected on the system.
Signed-off-by: Gabriele Monaco gmonaco@redhat.com