summaryrefslogtreecommitdiff
path: root/tools/tracing/rtla/tests/osnoise.t
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tracing/rtla/tests/osnoise.t')
-rw-r--r--tools/tracing/rtla/tests/osnoise.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/tracing/rtla/tests/osnoise.t b/tools/tracing/rtla/tests/osnoise.t
index 86596e547893..e5995c03c790 100644
--- a/tools/tracing/rtla/tests/osnoise.t
+++ b/tools/tracing/rtla/tests/osnoise.t
@@ -16,4 +16,10 @@ check "verify the --trace param" \
check "verify the --entries/-E param" \
"osnoise hist -P F:1 -c 0 -r 900000 -d 1M -b 10 -E 25"
+# Test setting default period by putting an absurdly high period
+# and stopping on threshold.
+# If default period is not set, this will time out.
+check_with_osnoise_options "apply default period" \
+ "osnoise hist -s 1" period_us=600000000
+
test_end