Date: Tue, 1 Nov 2005 12:36:19 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_ktrace.c src/sys/sys ktrace.h Message-ID: <200511011236.jA1CaJ9u048750@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-11-01 12:36:19 UTC FreeBSD src repository Modified files: sys/kern kern_ktrace.c sys/sys ktrace.h Log: Replace ktr_buffer pointer in struct ktr_header with a ktr_unused intptr_t. The buffer length needs to be written to disk as part of the trace log, but the kernel pointer for the buffer does not. Add a new ktr_buffer pointer to the kernel-only ktrace request structure to hold that pointer. This frees up an integer in the ktrace record format that can be used to hold the threadid, although older ktrace files will have a garbage ktr_buffer field (or more accurately, a kernel pointer value). MFC after: 2 weeks Space requested by: davidxu Revision Changes Path 1.102 +11 -9 src/sys/kern/kern_ktrace.c 1.30 +1 -1 src/sys/sys/ktrace.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511011236.jA1CaJ9u048750>