Lines Matching refs:stat

2 # perf stat tests
9 echo "Basic stat command test"
10 if ! perf stat true 2>&1 | grep -E -q "Performance counter stats for 'true':"
12 echo "Basic stat command test [Failed]"
16 echo "Basic stat command test [Success]"
20 echo "stat record and report test"
21 if ! perf stat record -o - true | perf stat report -i - 2>&1 | \
24 echo "stat record and report test [Failed]"
28 echo "stat record and report test [Success]"
32 echo "stat record and script test"
33 if ! perf stat record -o - true | perf script -i - 2>&1 | \
36 echo "stat record and script test [Failed]"
40 echo "stat record and script test [Success]"
44 echo "stat repeat weak groups test"
45 if ! perf stat -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}' \
48 echo "stat repeat weak groups test [Skipped event parsing failed]"
51 if ! perf stat -r2 -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}:W' \
54 echo "stat repeat weak groups test [Failed]"
58 echo "stat repeat weak groups test [Success]"
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>"
91 if ! perf stat --no-merge -e "$ok_grouping" true > /dev/null 2>&1
97 if perf stat --no-merge -e "$group_needs_break" true 2>&1 | grep -E -q "<not supported>"
111 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1
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"