I'm trying to dtruss a process in Mac OSX Catalina, however dtrace is reporting an error.
$ sudo dtruss whoami
dtrace: system integrity protection is on, some features will not be available
dtrace: failed to execute whoami: (os/kern) failure
I'm basically trying to get a stack trace. Can anyone provide guidance on accomplishing this?
Thanks
strace
provided bybrew
? e.g. formulae.brew.sh/formula/strace – Armory