macOS has dtrace which is actually nicer to use. Cannot be used on all processes when SIP is on though.
Last time I tried SIP prevented me from using it on my own processes, but I may have been holding it wrong.