summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTomas Glozar <tglozar@redhat.com>2026-07-09 11:17:55 +0200
committerTomas Glozar <tglozar@redhat.com>2026-08-05 10:14:40 +0200
commitab43bd72f958b69045320bee8dd86fbb0eb74969 (patch)
tree33cc69d85c66320d1d9241ef7c8c405ed5015303 /tools/perf/scripts/python
parentc1bb78002a768da7dac246432edda3a36c541b12 (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