News for hackers. Stuff that matters.
Re:Apple Plans to Use Its Own Chips in Macs from 2020, Repla... by viraptor on Monday April 02, 2018 @08:51PM (#16740946)
perf, strace, and pstack can be replaced with dtrace on MacOS.

You can have a case-sensitive position. (Separate from root so it doesn't break some apps)

Re:Apple Plans to Use Its Own Chips in Macs from 2020, Repla... by fnord123 on Tuesday April 03, 2018 @05:06AM (#16742993)
Do you need to add dtrace to the key chain each time it's updated or do they just not update it like most of their command line software?
Re:Apple Plans to Use Its Own Chips in Macs from 2020, Repla... by viraptor on Tuesday April 03, 2018 @05:23AM (#16743058)
What do you mean "add dtrace to the key chain"? I've never done anything related to keychain while using dtrace.
Re:Apple Plans to Use Its Own Chips in Macs from 2020, Repla... by fnord123 on Tuesday April 03, 2018 @06:09AM (#16743277)
gdb needs to be added to the keychain as a signed program in order to attach to programs. But brew is a rolling release so I might need to add this frequently. It's painful.
Re:Apple Plans to Use Its Own Chips in Macs from 2020, Repla... by 4ad on Tuesday April 03, 2018 @08:21AM (#16743921)
DTrace is built-in software.
Re:Apple Plans to Use Its Own Chips in Macs from 2020, Repla... by fnord123 on Wednesday April 04, 2018 @06:06AM (#16753390)
I took some time to try dtrace out. Sadly it's broken unless one turns off SIP:

https://apple.stackexchange.com/questions/193368/what-is-the...

Re:Apple Plans to Use Its Own Chips in Macs from 2020, Repla... by 4ad on Wednesday April 04, 2018 @06:11AM (#16753402)
Only when tracing the operating system, not your program. But yes, that is still a shame. You don't need to turn off SIP globally, you can just enable DTrace while keeping the rest of SIP on.
Re:Apple Plans to Use Its Own Chips in Macs from 2020, Repla... by fnord123 on Wednesday April 04, 2018 @08:54PM (#16760820)
Thanks for the tip!