From owner-cvs-all Thu Dec 14 16: 1:26 2000 From owner-cvs-all@FreeBSD.ORG Thu Dec 14 16:01:22 2000 Return-Path: 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 493E737B400; Thu, 14 Dec 2000 16:01:22 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBF01Mv65604; Thu, 14 Dec 2000 16:01:22 -0800 (PST) (envelope-from jhb) Message-Id: <200012150001.eBF01Mv65604@freefall.freebsd.org> From: John Baldwin Date: Thu, 14 Dec 2000 16:01:22 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: 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/12/14 16:01:22 PST Modified files: sys/kern kern_ktr.c Log: Add in MI implementations of the KTR trace buffer ddb commands. The commands have also been slightly updated as follows: - Use ktr_idx to find the newest entry rather than walking the buffer comparing timespecs. Timespecs are not always unique after the change to use getnanotime(9). - Add a new verbose setting. When the verbose setting is on, then the timestamp is printed with each message. If KTR_EXTEND is on, then the filename and line number are output as well. By default this option is off. It can be turned on with the 'v' modifier passed to the 'tbuf' and 'tall' commands. For the 'tnext' command, the 'v' modifier toggles the verbose mode. - Only display the cpu number for each message on SMP systems. - Don't display anything for an empty entry that hasn't been used yet. Revision Changes Path 1.8 +98 -1 src/sys/kern/kern_ktr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message