Lines Matching +full:time +full:- +full:slots
3 # SPDX-License-Identifier: GPL-2.0
5 set -e
10 if ! perf stat true 2>&1 | grep -E -q "Performance counter stats for 'true':"
21 if ! perf stat record -o - true | perf stat report -i - 2>&1 | \
22 grep -E -q "Performance counter stats for 'pipe':"
33 if ! perf stat record -o - true | perf script -i - 2>&1 | \
34 …grep -E -q "CPU[[:space:]]+THREAD[[:space:]]+VAL[[:space:]]+ENA[[:space:]]+RUN[[:space:]]+TIME[[:s…
45 if ! perf stat -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}' \
46 true 2>&1 | grep -q 'seconds time elapsed'
51 …if ! perf stat -r2 -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}:W' \
62 # Topdown events must be grouped with the slots event first. Test that
63 # parse-events reorders this.
65 if ! perf stat -e '{slots,topdown-retiring}' true > /dev/null 2>&1
70 if perf stat -e '{slots,topdown-retiring}' true 2>&1 | grep -E -q "<not supported>"
76 if perf stat -e '{topdown-retiring,slots}' true 2>&1 | grep -E -q "<not supported>"
78 echo "Topdown event group test [Failed slots not reordered first]"
90 …slots,topdown-bad-spec,topdown-be-bound,topdown-fe-bound,topdown-retiring},branch-instructions,bra…
91 if ! perf stat --no-merge -e "$ok_grouping" true > /dev/null 2>&1
96 …slots,topdown-bad-spec,topdown-be-bound,topdown-fe-bound,topdown-retiring,branch-instructions,bran…
97 if perf stat --no-merge -e "$group_needs_break" true 2>&1 | grep -E -q "<not supported>"
107 # Test --cputype argument.
111 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1
122 if test -d "/sys/devices/$i"
127 if perf stat -e "$i/instructions/" true > /dev/null 2>&1
140 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions"