]> Git Repo - linux.git/blob - tools/tracing/rtla/tests/timerlat.t
Linux 6.14-rc3
[linux.git] / tools / tracing / rtla / tests / timerlat.t
1 #!/bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 source tests/engine.sh
4 test_begin
5
6 set_timeout 2m
7
8 check "verify help page" \
9         "timerlat --help"
10 check "verify -s/--stack" \
11         "timerlat top -s 3 -T 10 -t"
12 check "verify -P/--priority" \
13         "timerlat top -P F:1 -c 0 -d 1M -q"
14 check "test in nanoseconds" \
15         "timerlat top -i 2 -c 0 -n -d 30s"
16 check "set the automatic trace mode" \
17         "timerlat top -a 5 --dump-tasks"
18 check "print the auto-analysis if hits the stop tracing condition" \
19         "timerlat top --aa-only 5"
20 check "disable auto-analysis" \
21         "timerlat top -s 3 -T 10 -t --no-aa"
22 check "verify -c/--cpus" \
23         "timerlat hist -c 0 -d 30s"
24 check "hist test in nanoseconds" \
25         "timerlat hist -i 2 -c 0 -n -d 30s"
26
27 test_end
This page took 0.026891 seconds and 4 git commands to generate.