diff options
| author | Tomas Glozar <[email protected]> | 2025-03-20 09:25:00 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-03-26 14:36:39 +0000 |
| commit | a86150f310d7c986bb27c3633520336b67388afe (patch) | |
| tree | 85229453a154963da908fe7d6f0f1437bdd6d108 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | rtla/tests: Reset osnoise options before check (diff) | |
| download | kernel-a86150f310d7c986bb27c3633520336b67388afe.tar.gz kernel-a86150f310d7c986bb27c3633520336b67388afe.zip | |
rtla/tests: Test setting default options
Add function to test engine to test with pre-set osnoise options, and
use it to test whether osnoise period (as an example) is set correctly.
The test works by pre-setting a high period of 10 minutes and stop on
threshold. Thus, it is easy to check whether rtla is properly resetting
the period to default: if it is, the test will complete on time, since
the first sample will overflow the threshold. If not, it will time out.
Cc: Luis Goncalves <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Tomas Glozar <[email protected]>
Reviewed-by: John Kacur <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
