The following table summarizes the changes required to add the first stage of DTrace functionality to FreeBSD-current (FreeBSD-8)
There are two ways to look at the diffs. In the second column, the diffs are grouped by area of functionality in a text file. In the last column there is a link to the p4 browser which will show a colourised diff which is probably easier to digest if you are just looking on a file-by-file basis.
For reference, the DTrace user guide is available online here or you can download the PDF from here.
File or Directory | Group Diff | Reason | Link | Branched From |
---|---|---|---|---|
src/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/exception.lst | unassigned | (Not Specified) | Changed | Branched |
src/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl | unassigned | (Not Specified) | Changed | Branched |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh | unassigned | --ditto-- | Added | Branched |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh.out | unassigned | --ditto-- | Added | Branched |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv | unassigned | --ditto-- | New directory | |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/Makefile | unassigned | --ditto-- | Added | Branched |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt | unassigned | --ditto-- | New directory | |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/tst.basic.ksh | unassigned | --ditto-- | Added | Branched |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/tst.hvmenable.ksh | unassigned | --ditto-- | Added | Branched |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/tst.memenable.ksh | unassigned | --ditto-- | Added | Branched |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/tst.schedargs.ksh | unassigned | --ditto-- | Added | Branched |
src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/tst.schedenable.ksh | unassigned | --ditto-- | Added | Branched |
src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c | unassigned | (Not Specified) | Changed | Branched |
src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c | unassigned | (Not Specified) | Changed | Branched |
src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_program.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/amd64/amd64/exception.S | unassigned | (Not Specified) | Changed | Branched |
src/sys/amd64/amd64/local_apic.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/amd64/amd64/trap.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/amd64/conf/GENERIC | generic | Add the DTrace kernel hooks to the GENERIC kernel. | Changed | Branched |
src/sys/amd64/conf/MINIMAL | custom | Custom kernel configuration. Ignore this. | Added | Branched |
src/sys/amd64/conf/YABBA | custom | Custom kernel configuration. Ignore this. | Added | Branched |
src/sys/boot/common/boot.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/boot/forth/beastie.4th | unassigned | (Not Specified) | Changed | Branched |
src/sys/cddl/compat/opensolaris/kern/opensolaris_kmem.c | oscompat | OpenSolaris compatibility headers | Changed | Branched |
src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c | opensolaris | Source code imported from OpenSolaris. Mostly CDDL'd. Contains many changes to suit FreeBSD. | Changed | Branched |
src/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c | opensolaris | Source code imported from OpenSolaris. Mostly CDDL'd. Contains many changes to suit FreeBSD. | Changed | Branched |
src/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap_impl.h | opensolaris | --ditto-- | Added | Branched |
src/sys/cddl/dev/fasttrap | fasttrap | WIP. Ignore for now. | New directory | |
src/sys/cddl/dev/fasttrap/fasttrap.c | fasttrap | --ditto-- | Added | Branched |
src/sys/cddl/dev/lockstat | unassigned | --ditto-- | New directory | |
src/sys/cddl/dev/lockstat/lockstat.c | unassigned | --ditto-- | Added | Branched |
src/sys/conf/files | lockstat | Add kern_lockstat.c. | Changed | Branched |
src/sys/i386/conf/ONE | unassigned | --ditto-- | Added | Branched |
src/sys/i386/conf/YABBA | unassigned | --ditto-- | Added | Branched |
src/sys/i386/i386/exception.s | unassigned | (Not Specified) | Changed | Branched |
src/sys/i386/i386/local_apic.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/i386/i386/trap.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/i386/isa/clock.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/kern_exec.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/kern_exit.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/kern_fork.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/kern_mutex.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/kern_proc.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/kern_rwlock.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/kern_sig.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/kern_sx.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/sched_4bsd.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/sched_ule.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/kern/kern_lockstat.c | unassigned | --ditto-- | Added | Branched |
src/sys/modules/Makefile | build | Add the DTrace modules to i386 and amd64 only (for the time being). | Changed | Branched |
src/sys/modules/dtrace/Makefile | kdtrace | The DTrace kernel modules. | Changed | Branched |
src/sys/modules/cyclic_test | unassigned | --ditto-- | New directory | |
src/sys/modules/cyclic_test/Makefile | unassigned | --ditto-- | Added | Branched |
src/sys/netinet/sctputil.c | unassigned | (Not Specified) | Changed | Branched |
src/sys/sys/mutex.h | lockstat | lockstat support | Changed | Branched |
src/sys/sys/rwlock.h | lockstat | lockstat support | Changed | Branched |
src/sys/sys/sx.h | lockstat | lockstat support | Changed | Branched |
src/sys/sys/lockstat.h | unassigned | --ditto-- | Added | Branched |
src/tools/test/libproc | libproctest | A minimal test program for libproc. Not much use. Probably should be moved to tools/regression and fleshed out more. Can be considered WIP or just ignored. | New directory | |
src/tools/test/libproc/Makefile | libproctest | --ditto-- | Added | Branched |
src/tools/test/libproc/proctest.c | libproctest | --ditto-- | Added | Branched |
src/usr.bin/Makefile | dwarf | Add 'dwarfdump' to the list of directories to build | Changed | Branched |
src/usr.bin/dwarfdump | dwarf | BSD licensed 'dwarfdump' based on the BSD licensed libdwarf. | New directory | |
src/usr.bin/dwarfdump/Makefile | dwarf | --ditto-- | Added | Branched |
src/usr.bin/dwarfdump/dwarfdump.c | dwarf | --ditto-- | Added | Branched |