linux/tools/perf/scripts/python/bin/flamegraph-report

#!/bin/bash
# description: create flame graphs
perf script -s "$PERF_EXEC_PATH"/scripts/python/flamegraph.py -- "$@"