<feed xmlns='http://www.w3.org/2005/Atom'>
<title>laptop-kernel/tools/tracing/rtla/tests/scripts/check-tracefs-value.sh, branch master</title>
<subtitle>Linux kernel tree for laptop</subtitle>
<id>https://git.zx2c4.com/laptop-kernel/atom/tools/tracing/rtla/tests/scripts/check-tracefs-value.sh?h=master</id>
<link rel='self' href='https://git.zx2c4.com/laptop-kernel/atom/tools/tracing/rtla/tests/scripts/check-tracefs-value.sh?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/laptop-kernel/'/>
<updated>2026-08-05T08:14:40Z</updated>
<entry>
<title>rtla/tests: Test all tracer options in runtime tests</title>
<updated>2026-08-05T08:14:40Z</updated>
<author>
<name>Tomas Glozar</name>
<email>tglozar@redhat.com</email>
</author>
<published>2026-07-09T09:17:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/laptop-kernel/commit/?id=ab43bd72f958b69045320bee8dd86fbb0eb74969'/>
<id>urn:sha1:ab43bd72f958b69045320bee8dd86fbb0eb74969</id>
<content type='text'>
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 &lt;tglozar@redhat.com&gt;
</content>
</entry>
</feed>
