Has anyone seen where Apple has posted their DTrace port to Leopard? I expected to find it here: http://www.opensource.apple.com/darwinsource/10.5/ but the link just goes to a generic "not available" page. I have sent mail to opensource at apple.com but I haven''t had a reply yet. I thought I''d ask here in case there is a site on the web I haven''t found. I wonder how long Sun waits for CDDL compliance. -- John Birrell -- This message posted from opensolaris.org
On Dec 13, 2007, at 12:41 PM, John Birrell wrote:> Has anyone seen where Apple has posted their DTrace port to Leopard? > > I expected to find it here: http://www.opensource.apple.com/darwinsource/10.5/ > but the link just goes to a generic "not available" page. > > I have sent mail to opensource at apple.com but I haven''t had a reply > yet. I thought I''d ask here in case there is a site on the web I > haven''t found. > > I wonder how long Sun waits for CDDL compliance.We''re actively pushing, kicking and screaming to get the source out ASAP. I''ll send an update when it makes it to the web. Apologies for the delay, sometimes it takes a while to dot all the i''s and cross all the t''s. James M
On Dec 13, 2007, at 12:41 PM, John Birrell wrote:> Has anyone seen where Apple has posted their DTrace port to Leopard? > > I expected to find it here: http://www.opensource.apple.com/darwinsource/10.5/ > but the link just goes to a generic "not available" page. >DTrace kernel source for x86 and PPC we''re posted on October 30, 2007 here: <http://www.opensource.apple.com/darwinsource/10.5/xnu-1228/> (The OS project is denoted "xnu", and may have escaped your notice. Browse "bsd/dev/dtrace" under "xnu".) I was told the DTrace userland source would be posted last night. I''m invetigating why it wasn''t :-{ SCP -- Steve Peters scp at mac.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20071214/9028eff0/attachment.html>
On Fri, Dec 14, 2007 at 03:54:39PM -0800, James McIlree wrote:> We''re actively pushing, kicking and screaming to get the source out > ASAP. > > I''ll send an update when it makes it to the web. Apologies for the > delay, sometimes > it takes a while to dot all the i''s and cross all the t''s.Thanks. I need to do powerpc for FreeBSD (and ARM and MIPS too). Your sources provide a useful reference. I wonder if I should combine our #ifdefs with the APPLE ones? -- John Birrell
At 12:41 -0800 12/13/07, John Birrell wrote:> Has anyone seen where Apple has posted their DTrace port > to Leopard?Instruments builds on top of the open source DTrace utility. DTrace is ... If there is an aspect of the system that you want to track that isn''t already supported, you can create your own tool using the D programming language. -- http://developer.apple.com/leopard/overview/ Unfortunately, there are things I''d like to track that D isn''t the best tool for recording. So, I''d like to be able to add tools in other languages. I''d also like to be able to extend Instruments'' data analysis and display capabilities. I''d even like to "play" some of the recorded data over my speakers! Although I can do some of this by exporting data and pushing files through other programs, this isn''t as slick an interface as I''d like (or that Instruments deserves). Other things, I simply can''t do at all. It occurs to me that Apple has a chance to pay back some of debt they owe the DTrace community and, at the same time, get a LOT of help in improving and extending Instruments. Here''s hoping that Apple is willing to see the logic in the idea of open-sourcing Instruments. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development
On Dec 14, 2007, at 3:54 PM, James McIlree wrote:> We''re actively pushing, kicking and screaming to get the source out > ASAP. > > I''ll send an update when it makes it to the web. Apologies for the > delay, sometimes > it takes a while to dot all the i''s and cross all the t''s. > > James MI just got word, the OS X dtrace source has been posted: http://www.opensource.apple.com/darwinsource/10.5/dtrace-48/ In the interest of full disclosure, the sources as they sit will not build correctly. This isn''t a plot, plan, or other scheming, its simply that they depend on Apple private frameworks that don''t have public headers. Discussions on how to release a buildable set of sources are ongoing, I''ll send another update when I can. James M
Hi James,> I just got word, the OS X dtrace source has been posted: > > http://www.opensource.apple.com/darwinsource/10.5/dtrace-48/ > > In the interest of full disclosure, the sources as they sit will not > build correctly. This isn''t a plot, plan, or other scheming, its simply > that they depend on Apple private frameworks that don''t have public > headers. Discussions on how to release a buildable set of sources are > ongoing, I''ll send another update when I can.I may have missed it but I couldn''t see the uts source here. Do you have a pointer to it somewhere? Jon.
On Dec 18, 2007, at 12:43 AM, Jon Haslam wrote:> Hi James, > >> I just got word, the OS X dtrace source has been posted: >> >> http://www.opensource.apple.com/darwinsource/10.5/dtrace-48/ >> >> In the interest of full disclosure, the sources as they sit will not >> build correctly. This isn''t a plot, plan, or other scheming, its >> simply >> that they depend on Apple private frameworks that don''t have public >> headers. Discussions on how to release a buildable set of sources are >> ongoing, I''ll send another update when I can. > > I may have missed it but I couldn''t see the uts source here. > Do you have a pointer to it somewhere?Jon, The darwin equivalent of "uts" is called "xnu", and is available at: http://www.opensource.apple.com/darwinsource/10.5/xnu-1228/ James M
On Dec 18, 2007, at 12:48 AM, James McIlree wrote:> The darwin equivalent of "uts" is called "xnu", and is available at: > > http://www.opensource.apple.com/darwinsource/10.5/xnu-1228/A quick grep picks out the faces in the xnu crowd ;-) $ grep -l -r "CDDL HEADER START" . ./bsd/dev/dtrace/dtrace.c ./bsd/dev/dtrace/dtrace_subr.c ./bsd/dev/dtrace/fasttrap.c ./bsd/dev/dtrace/fbt.c ./bsd/dev/dtrace/lockstat.c ./bsd/dev/dtrace/profile_prvd.c ./bsd/dev/dtrace/sdt.c ./bsd/dev/dtrace/sdt_subr.c ./bsd/dev/dtrace/systrace.c ./bsd/dev/dtrace/systrace.h ./bsd/dev/i386/dis_tables.c ./bsd/dev/i386/dtrace_subr_x86.c ./bsd/dev/i386/fasttrap_isa.c ./bsd/dev/i386/fasttrap_regset.h ./bsd/dev/i386/fbt_x86.c ./bsd/dev/i386/instr_size.c ./bsd/dev/i386/sdt_x86.c ./bsd/dev/ppc/dtrace_subr_ppc.c ./bsd/dev/ppc/fasttrap_isa.c ./bsd/dev/ppc/fbt_ppc.c ./bsd/dev/ppc/sdt_ppc.c ./bsd/i386/dis_tables.h ./bsd/i386/fasttrap_isa.h ./bsd/ppc/fasttrap_isa.h ./bsd/sys/dtrace.h ./bsd/sys/dtrace_impl.h ./bsd/sys/fasttrap.h ./bsd/sys/fasttrap_impl.h ./bsd/sys/lockstat.h ./bsd/sys/sdt.h ./bsd/sys/sdt_impl.h ./osfmk/mach/i386/sdt_isa.h ./osfmk/mach/machine/sdt.h ./osfmk/mach/ppc/sdt_isa.h ./osfmk/mach/sdt.h And this one shows where worlds collide :-) :-) $ grep -l -r "CONFIG_DTRACE" . ./bsd/conf/MASTER ./bsd/dev/dtrace/dtrace_glue.c ./bsd/dev/i386/systemcalls.c ./bsd/dev/ppc/systemcalls.c ./bsd/kern/bsd_init.c ./bsd/kern/kern_exec.c ./bsd/kern/kern_exit.c ./bsd/kern/kern_fork.c ./bsd/sys/lockstat.h ./bsd/sys/proc_internal.h ./bsd/sys/user.h ./iokit/conf/MASTER ./libkern/conf/MASTER ./libsa/conf/MASTER ./osfmk/conf/MASTER ./osfmk/i386/bsd_i386.c ./osfmk/i386/genassym.c ./osfmk/i386/i386_lock.s ./osfmk/i386/locks_i386.c ./osfmk/i386/loose_ends.c ./osfmk/i386/pmap.c ./osfmk/i386/thread.h ./osfmk/i386/trap.c ./osfmk/kern/clock.c ./osfmk/kern/clock.h ./osfmk/kern/locks.c ./osfmk/kern/thread.c ./osfmk/kern/thread.h ./osfmk/kern/timer_call.c ./osfmk/mach/machine/sdt.h ./osfmk/ppc/genassym.c ./osfmk/ppc/hw_lock.s ./osfmk/ppc/interrupt.c ./osfmk/ppc/locks_ppc.c ./osfmk/ppc/pmap.c ./osfmk/ppc/trap.c ./pexpert/conf/MASTER ./pexpert/i386/pe_interrupt.c ./security/conf/MASTER SCP -- Steve Peters scp at mac.com
This is pretty cool, you guys. It''s very interesting to see the choices that a ''released'' port has taken. It will certainly help those with ports in earlier stages of progress out immensely. Regards, Colin Steve Peters wrote: On Dec 18, 2007, at 12:48 AM, James McIlree wrote:> The darwin equivalent of "uts" is called "xnu", and is available at:> > http://www.opensource.apple.com/darwinsource/10.5/xnu-1228/<http://www.opensource.apple.com/darwinsource/10.5/xnu-1228/> A quick grep picks out the faces in the xnu crowd ;-) $ grep -l -r "CDDL HEADER START" . ./bsd/dev/dtrace/dtrace.c ./bsd/dev/dtrace/dtrace_subr.c ./bsd/dev/dtrace/fasttrap.c ./bsd/dev/dtrace/fbt.c ./bsd/dev/dtrace/lockstat.c ./bsd/dev/dtrace/profile_prvd.c ./bsd/dev/dtrace/sdt.c ./bsd/dev/dtrace/sdt_subr.c ./bsd/dev/dtrace/systrace.c ./bsd/dev/dtrace/systrace.h ./bsd/dev/i386/dis_tables.c ./bsd/dev/i386/dtrace_subr_x86.c ./bsd/dev/i386/fasttrap_isa.c ./bsd/dev/i386/fasttrap_regset.h ./bsd/dev/i386/fbt_x86.c ./bsd/dev/i386/instr_size.c ./bsd/dev/i386/sdt_x86.c ./bsd/dev/ppc/dtrace_subr_ppc.c ./bsd/dev/ppc/fasttrap_isa.c ./bsd/dev/ppc/fbt_ppc.c ./bsd/dev/ppc/sdt_ppc.c ./bsd/i386/dis_tables.h ./bsd/i386/fasttrap_isa.h ./bsd/ppc/fasttrap_isa.h ./bsd/sys/dtrace.h ./bsd/sys/dtrace_impl.h ./bsd/sys/fasttrap.h ./bsd/sys/fasttrap_impl.h ./bsd/sys/lockstat.h ./bsd/sys/sdt.h ./bsd/sys/sdt_impl.h ./osfmk/mach/i386/sdt_isa.h ./osfmk/mach/machine/sdt.h ./osfmk/mach/ppc/sdt_isa.h ./osfmk/mach/sdt.h And this one shows where worlds collide :-) :-) $ grep -l -r "CONFIG_DTRACE" . ./bsd/conf/MASTER ./bsd/dev/dtrace/dtrace_glue.c ./bsd/dev/i386/systemcalls.c ./bsd/dev/ppc/systemcalls.c ./bsd/kern/bsd_init.c ./bsd/kern/kern_exec.c ./bsd/kern/kern_exit.c ./bsd/kern/kern_fork.c ./bsd/sys/lockstat.h ./bsd/sys/proc_internal.h ./bsd/sys/user.h ./iokit/conf/MASTER ./libkern/conf/MASTER ./libsa/conf/MASTER ./osfmk/conf/MASTER ./osfmk/i386/bsd_i386.c ./osfmk/i386/genassym.c ./osfmk/i386/i386_lock.s ./osfmk/i386/locks_i386.c ./osfmk/i386/loose_ends.c ./osfmk/i386/pmap.c ./osfmk/i386/thread.h ./osfmk/i386/trap.c ./osfmk/kern/clock.c ./osfmk/kern/clock.h ./osfmk/kern/locks.c ./osfmk/kern/thread.c ./osfmk/kern/thread.h ./osfmk/kern/timer_call.c ./osfmk/mach/machine/sdt.h ./osfmk/ppc/genassym.c ./osfmk/ppc/hw_lock.s ./osfmk/ppc/interrupt.c ./osfmk/ppc/locks_ppc.c ./osfmk/ppc/pmap.c ./osfmk/ppc/trap.c ./pexpert/conf/MASTER ./pexpert/i386/pe_interrupt.c ./security/conf/MASTER SCP -- Steve Peters scp at mac.com <mailto:scp at mac.com> _______________________________________________ dtrace-discuss mailing list dtrace-discuss at opensolaris.org <mailto:dtrace-discuss at opensolaris.org> -- cburgess at qnx.com <mailto:cburgess at qnx.com>
On Mon, Dec 17, 2007 at 11:04:38PM -0800, James McIlree wrote:> I just got word, the OS X dtrace source has been posted: > > http://www.opensource.apple.com/darwinsource/10.5/dtrace-48/ > > In the interest of full disclosure, the sources as they sit will not > build correctly. This isn''t a plot, plan, or other scheming, its simply > that they depend on Apple private frameworks that don''t have public > headers. Discussions on how to release a buildable set of sources are > ongoing, I''ll send another update when I can.Good news, thanks James. I don''t need to build on OS X because I don''t have any Apple machines. :-) -- John Birrell