fix: a unreproducable weird bug triggered when running perf inside jenkins
Not sure what exactly is going on but when running the jobs from jenkins the job would crash, while running manually on lbhltperf01 worked.
- specify input explicitly to avoid this bug
- move to
Popen().wait()
to avoid not sending any reply etc, just because the flamegraph part failed.
cc @maszyman