Re: Point me out
Re: Point me out
- Subject: Re: Point me out
- From: Joe Ranieri <email@hidden>
- Date: Fri, 25 Jan 2008 18:33:46 -0500
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.
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden