path: gitlab-shell_14.35.0+ds1-2/vendor/gitlab.com/gitlab-org/gitaly/v16/_support/benchmarking/roles/gitaly/files/profile-gitaly.sh
	# --call-graph=fp - Use framepointers for call stack, works well with Golang
	#                   and ~10x smaller output than DWARF.
	perf record --freq=99 --call-graph=fp --pid="$(pidof -s gitaly)" \
		--no-inherit --output="${gitaly_perf_data}" -- sleep "${seconds}" &
