If you don't have access to the hardware PMU then you can try https://github.com/sidkshatriya/rr.soft (which is a modification of the rr debugger).
It may not be commercial quality but its open source and free :)
[I built rr.soft]
It may not be commercial quality but its open source and free :)
[I built rr.soft]
No comments yet.