path: gitlab_17.6.5-19/workhorse-vendor/gitlab.com/gitlab-org/gitaly/v15/_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}" &
