I know what you mean, I spent the last few days playing around with bcc and it can be quite painful at times. I managed to generate an alpine image that contains the key dependencies for bpftrace, this way making it quite portable within linux distros. I am not sure though if this would work in a macOS. If you want to give it a go, here's more on the challenges and how I resolved them:
Hey Mark,
I know what you mean, I spent the last few days playing around with bcc and it can be quite painful at times. I managed to generate an alpine image that contains the key dependencies for bpftrace, this way making it quite portable within linux distros. I am not sure though if this would work in a macOS. If you want to give it a go, here's more on the challenges and how I resolved them:
medium.com/@pjbgf/how-to-run-bpftr...