xref: /linux/tools/tracing/rtla/tests/osnoise.t (revision 40648d246fa4307ef11d185933cb0d79fc9ff46c)
1*ab16714fSTomas Glozar#!/bin/bash
2*ab16714fSTomas Glozar# SPDX-License-Identifier: GPL-2.0
3*ab16714fSTomas Glozarsource tests/engine.sh
4*ab16714fSTomas Glozartest_begin
5*ab16714fSTomas Glozar
6*ab16714fSTomas Glozarset_timeout 2m
7*ab16714fSTomas Glozar
8*ab16714fSTomas Glozarcheck "verify help page" \
9*ab16714fSTomas Glozar	"osnoise --help"
10*ab16714fSTomas Glozarcheck "verify the --priority/-P param" \
11*ab16714fSTomas Glozar	"osnoise top -P F:1 -c 0 -r 900000 -d 1M -q"
12*ab16714fSTomas Glozarcheck "verify the --stop/-s param" \
13*ab16714fSTomas Glozar	"osnoise top -s 30 -T 1 -t"
14*ab16714fSTomas Glozarcheck "verify the  --trace param" \
15*ab16714fSTomas Glozar	"osnoise hist -s 30 -T 1 -t"
16*ab16714fSTomas Glozarcheck "verify the --entries/-E param" \
17*ab16714fSTomas Glozar	"osnoise hist -P F:1 -c 0 -r 900000 -d 1M -b 10 -E 25"
18*ab16714fSTomas Glozar
19*ab16714fSTomas Glozartest_end
20