Date: Fri, 15 Feb 2008 02:44:05 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 135421 for review Message-ID: <200802150244.m1F2i5VD082364@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=135421 Change 135421 by jb@jb_freebsd1 on 2008/02/15 02:43:14 Add an option to allow CTF data to be loaded with the ELF file. The CTF data has type information and for functions, the list or arguments too. This list is useful for the DTrace Function Boundary Trace (fbt) provider so that it can set the types for the functions it probes. Without this information, the arguments are uintptr_t's and have to be cast to a usable type. The CTF data is probably useful for DDB too and it may be useful even if the DTrace hooks aren't in the kernel. Of course the CTF data needs to be present as an ELF section in the file and it it isn't there, well, umm, life still needs to go on. So DDB_CTF tells the kernel to load TF data if it is there. Affected files ... .. //depot/projects/dtrace/src/sys/conf/options#40 edit Differences ... ==== //depot/projects/dtrace/src/sys/conf/options#40 (text+ko) ==== @@ -50,6 +50,7 @@ DDB DDB_CAPTURE_DEFAULTBUFSIZE opt_ddb.h DDB_CAPTURE_MAXBUFSIZE opt_ddb.h +DDB_CTF opt_ddb.h DDB_NUMSYM opt_ddb.h GDB KDB opt_global.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802150244.m1F2i5VD082364>