linux/tools/tracing/rtla/tests/scripts
Tomas Glozar ab43bd72f9 rtla/tests: Test all tracer options in runtime tests
Currently, runtime tests only test the osnoise period option
(-p/--period of rtla-osnoise tools, backed by
/sys/kernel/tracing/osnoise/period_us), using the
check_with_osnoise_options function together with a hack relying on long
period (pre-set) timing out if RTLA fails to reset it to the default
value.

Extend tracer option testing to all options used by RTLA; test both RTLA
setting the default option by pre-setting the tracer to a different
value and user-requested value.

The tests are done using a script that reads the tracer values inside an
--on-threshold action, like existing tests for runtime behavior already
do. check_with_osnoise_option is modified to support grep filters, so
that it can be used together with the script pattern.

Assisted-by: Claude:claude-opus-4-6
Link: https://lore.kernel.org/r/20260709091755.58265-1-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
2026-08-05 10:14:40 +02:00
..
lib rtla/tests: Fix pgrep filter in get_workload_pids.sh 2026-06-17 16:26:44 +02:00
check-cgroup-match.sh rtla/tests: Add runtime tests for -C/--cgroup 2026-05-18 11:00:52 +02:00
check-cpus.sh rtla/tests: Check -c/--cpus thread affinity 2026-05-18 11:00:51 +02:00
check-housekeeping-cpus.sh rtla/tests: Add runtime test for -H/--house-keeping 2026-05-18 11:00:52 +02:00
check-osnoise-option.sh rtla/tests: Test all tracer options in runtime tests 2026-08-05 10:14:40 +02:00
check-priority.sh rtla/tests: Add get_workload_pids() helper 2026-05-18 11:00:51 +02:00
check-tracefs-value.sh rtla/tests: Test all tracer options in runtime tests 2026-08-05 10:14:40 +02:00
check-user-kernel-threads.sh rtla/tests: Add runtime test for -k and -u options 2026-05-18 11:00:52 +02:00