diff options
| author | Tomas Glozar <tglozar@redhat.com> | 2026-07-09 11:17:55 +0200 |
|---|---|---|
| committer | Tomas Glozar <tglozar@redhat.com> | 2026-08-05 10:14:40 +0200 |
| commit | ab43bd72f958b69045320bee8dd86fbb0eb74969 (patch) | |
| tree | 33cc69d85c66320d1d9241ef7c8c405ed5015303 /tools/perf/scripts/python | |
| parent | c1bb78002a768da7dac246432edda3a36c541b12 (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
