rtla/tests: Reset osnoise options before check
authorTomas Glozar <tglozar@redhat.com>
Thu, 20 Mar 2025 09:24:59 +0000 (10:24 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 26 Mar 2025 14:36:39 +0000 (10:36 -0400)
commit6c6182728a9bb02b0a973775869c9a0ceddd9658
tree06dcec4016295dd660fb0ff150637ce3f97c56d4
parent0122938a7ab49b531b71602584da524ffebdd2f9
rtla/tests: Reset osnoise options before check

Remove any dangling tracing instances from previous improperly exited
runs of rtla, and reset osnoise options to default before running a test
case.

This ensures that the test results are deterministic. Specific test
cases checked that rtla behaves correctly even when the tracer state is
not clean will be added later.

Cc: John Kacur <jkacur@redhat.com>
Cc: Luis Goncalves <lgoncalv@redhat.com>
Link: https://lore.kernel.org/20250320092500.101385-6-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/tests/engine.sh