drm/rockchip: Don't change hdmi reference clock rate
[drm/drm-misc.git] / tools / perf / tests / shell / attr.sh
blob5a4e43b2471de811b49d548e6f8535b9e03d49c7
1 #!/bin/bash
2 # Perf attribute expectations test
3 # SPDX-License-Identifier: GPL-2.0
5 err=0
7 cleanup() {
8 trap - EXIT TERM INT
11 trap_cleanup() {
12 echo "Unexpected signal in ${FUNCNAME[1]}"
13 cleanup
14 exit 1
16 trap trap_cleanup EXIT TERM INT
18 shelldir=$(dirname "$0")
19 perf_path=$(which perf)
20 python "${shelldir}"/lib/attr.py -d "${shelldir}"/attr -v -p "$perf_path"
21 cleanup
22 exit $err