From owner-cvs-all Mon Nov 6 17:49:52 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5D56F37B4D7; Mon, 6 Nov 2000 17:49:49 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA98787; Mon, 6 Nov 2000 17:49:49 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-Id: <200011070149.RAA98787@freefall.freebsd.org> From: John Baldwin Date: Mon, 6 Nov 2000 17:49:49 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf options src/sys/sys ktr.h src/sys/kern kern_ktr.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2000/11/06 17:49:49 PST Modified files: sys/conf options sys/sys ktr.h sys/kern kern_ktr.c Log: - Remove much of the inlining of the KTR tracepoints into a ktr_tracepoint() function declared in kern_ktr.c. The only inline checks left are the checks that compare KTR_COMPILE with the supplied mask and thus should be optimized away into either nothing or a direct call to ktr_tracepoint(). - Move several KTR-related options to opt_ktr.h now that they are only needed by kern_ktr.c and not by ktr.h. - Add in the ktr_verbose functionality if KTR_EXTEND is turned on. If the global variable 'ktr_verbose' is non-zero, then KTR messages will be dumped to the console. This variable can be set by either kernel code or via the 'debug.ktr_verbose' sysctl. It defaults to off unless the KTR_VERBOSE kernel option is specified in which case it defaults to on. This can be useful when the machine locks up spinning in a loop with interrupts disabled as you might be able to see what it is doing when it locks up. Requested by: phk Revision Changes Path 1.237 +4 -3 src/sys/conf/options 1.6 +30 -137 src/sys/sys/ktr.h 1.2 +87 -3 src/sys/kern/kern_ktr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message