I realise now that I’m not sure the hwtracing stuff was upstreamed. But you could try poking around with some of the ls commands from the linked blog post above. If you’re feeling ambitious I guess you could try recreating the demo from the video (the blog post seems to be lacking an easy to copy perf record command).