copy-paste from https://github.com/parca-dev/parca-agent/tree/86e9befa15f6078163746421f85a46ca63119376/reporter
