site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com More extensive information on DTrace is available from Sun's web site. -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Jul 9, 2009, at 8:48 PM, Esteban Bodigami wrote: what is the difference between ptrace and dtrace? ptrace is a system call with a limited set of functionality for use by debuggers of user space processes. On BSD-based systems, it's all that's needed to implement a debugger. On Mac OS X, you also need the task port for the process being debugged, in order to access its address space contents. dtrace is a command-line command that front-ends the DTrace facility. The DTrace facility is a comprehensive dynamic tracing framework capable of instrumenting existing code without specific explicit instrumentation, including both user programs and the operating system itself. This email sent to site_archiver@lists.apple.com