I'm trying to optimize a local Python script and I'd like to see syscalls etc.

dtruss seems like a great tool for that, but I get a series of errors when I run it that I think are related to SIP being enabled.

Also, it exits very quickly (versus > 1min run time) which I think has to do with not being able to use its -R flag when root (which I obviously have to be in order to run dtruss).


You must log in to answer this question.

Browse other questions tagged .