Lines Matching +full:test +full:- +full:cpu
3 # SPDX-License-Identifier: GPL-2.0
5 set -e
11 rm -f "${perfdata}"
12 trap - EXIT TERM INT
23 echo "Simple evlist test"
24 if ! perf record -e cpu-clock -o "${perfdata}" true 2> /dev/null
30 if ! perf evlist -i "${perfdata}" | grep -q "cpu-clock"
36 echo "Simple evlist test [Success]"
40 echo "Group evlist test"
41 if ! perf record -e "{cpu-clock,task-clock}" -o "${perfdata}" \
42 -- perf test -w noploop 2> /dev/null
48 if ! perf evlist -i "${perfdata}" -g | grep -q "{.*cpu-clock.*,.*task-clock.*}"
54 echo "Group evlist test [Success]"
58 echo "Event configuration evlist test"
59 if ! perf record -e cycles -o "${perfdata}" true 2> /dev/null
66 if ! perf evlist -i "${perfdata}" -v | grep -q "config:"
72 echo "Event configuration evlist test [Success]"