llvm/bolt/test/perf2bolt/lit.local.cfg

import shutil

if shutil.which("perf") is not None:
    config.available_features.add("perf")