## Motivation
It closes #4349
Part of https://github.com/spacemeshos/smapp/pull/1242
Actually, we don't need it bundled in the same archive with go-spacemesh, but it seems to me as the easiest way to keep the profiler up to date with post-rs library used in the go-spacemesh.
**❗ We need to add some valid `POSTRS_SETUP_REV` to this branch before merging. ❗**
## Changes
- Added `make get-profiler`
- It will download the profiler and unzip it into the `build` directory
- Then it will be packed in the same archive
## Test Plan
To test these changes I've pushed also `test-4380-profiler-tool` branch and pushed the tag `v0.3.2-beta.1`
It contains valid `POSTRS_SETUP_REV` (to the one with the profiler tool).
## DevOps Notes
- [x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
- [x] This PR does not affect public APIs
- [ ] This PR does not rely on a new version of external services.
It relies on `post-rs`.
- [x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)
Co-authored-by: Jędrzej Nowak <pigmej@gmail.com>
Co-authored-by: andres-spacemesh <106999199+andres-spacemesh@users.noreply.github.com>