site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Joe Ranieri Lead Magician, Alacatia Labs, Inc. http://alacatia.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... There's a lot of rumors about dtrace under Leopard,so could someone point me out how to compile dtrace? exnovo,i downloaded it and untar it,but i do not see any makefile or configure Thanks in advance DTrace is built into Leopard. No rumor. Nothing for you to download or build if you just want to use it. I'm assuming he's talking about the "rumor" regarding PT_DENY_ATTACH/ P_LNOATTACH and its effect on DTrace. In which case he's trying to compile dtrace for OS X, which is a pain in the ass. Basically there's a few problems -- DTrace relies on a few Apple private libraries. First off, it relies on the private Symbolication framework, which Apple provides no headers for. These can easily be gained by running 'class-dump' on the framework and then rearranging that file so it'll compile. Secondly, it relies on Scanalyzer, which appears to be a library to check if PPC functions are safe to trace. Scanalyzer doesn't have headers or even a binary file. It was linked directly into DTrace as a static library. Removing these checks appears to be safe, but I didn't actually try using the built library. This email sent to site_archiver@lists.apple.com
participants (1)
-
Joe Ranieri