#!/bin/bash # 'import perf' in python # SPDX-License-Identifier: GPL-2.0 # Just test if we can load the python binding. set -e shelldir=$(dirname "$0") # shellcheck source=lib/setup_python.sh . "${shelldir}"/lib/setup_python.sh MODULE_DIR=$(dirname "$(which perf)")/python if [ -d "$MODULE_DIR" ] then CMD=$(cat <