Module Name: src Committed By: darran Date: Fri Mar 12 21:43:11 UTC 2010
Modified Files: src/sys/conf: files src/sys/kern: kern_ksyms.c src/sys/lib/libsa: loadfile_elf32.c src/sys/sys: ksyms.h Added Files: src/sys/kern: kern_ctf.c src/sys/sys: kern_ctf.h Log Message: DTrace: Add support for CTF sections in the netbsd elf image, load these at boot. Add a ksyms_mod_foreach() function to iterate a callback function over the set of elf symbols for a specific module (netbsd included). Add kern_ctf.c and mod_ctf_get() to allow the retrieval and decompression of CTF sections for a specific module. To generate a diff of this commit: cvs rdiff -u -r1.980 -r1.981 src/sys/conf/files cvs rdiff -u -r0 -r1.1 src/sys/kern/kern_ctf.c cvs rdiff -u -r1.55 -r1.56 src/sys/kern/kern_ksyms.c cvs rdiff -u -r1.24 -r1.25 src/sys/lib/libsa/loadfile_elf32.c cvs rdiff -u -r0 -r1.1 src/sys/sys/kern_ctf.h cvs rdiff -u -r1.24 -r1.25 src/sys/sys/ksyms.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.