1#!/bin/sh 2# perf list tests 3# SPDX-License-Identifier: GPL-2.0 4 5set -e 6err=0 7 8shelldir=$(dirname "$0") 9# shellcheck source=lib/setup_python.sh 10. "${shelldir}"/lib/setup_python.sh 11 12test_list_json() { 13 echo "Json output test" 14 perf list -j | $PYTHON -m json.tool 15 echo "Json output test [Success]" 16} 17 18test_list_json 19exit $err 20