#!/usr/bin/env bash
set -euo pipefail

output_file="$1"

echo "Recording flame graph performance data."
exec perf record --no-buildid-cache --freq=97 --all-cpus -g --quiet --output="$output_file"
