From owner-cvs-all@FreeBSD.ORG Tue Dec 25 23:06:51 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADEDE16A417; Tue, 25 Dec 2007 23:06:51 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9327313C43E; Tue, 25 Dec 2007 23:06:51 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBPN6pVa077087; Tue, 25 Dec 2007 23:06:51 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBPN6pL4077086; Tue, 25 Dec 2007 23:06:51 GMT (envelope-from rwatson) Message-Id: <200712252306.lBPN6pL4077086@repoman.freebsd.org> From: Robert Watson Date: Tue, 25 Dec 2007 23:06:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf files src/sys/ddb db_capture.c db_command.c db_input.c db_main.c db_output.c ddb.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2007 23:06:51 -0000 rwatson 2007-12-25 23:06:51 UTC FreeBSD src repository Modified files: sys/conf files sys/ddb db_command.c db_input.c db_main.c db_output.c ddb.h Added files: sys/ddb db_capture.c Log: Add a new DDB(4) facility, output capture. Input and output from DDB may be captured to a memory buffer for later inspection using sysctl(8), or in the future, to a textdump. A new DDB command, "capture", is added, which accepts arguments "on", "off", "reset", and "status". A new DDB sysctl tree, debug.ddb.capture, is added, which can be used to resize the capture buffer and extract buffer contents. MFC after: 3 months Revision Changes Path 1.1258 +1 -0 src/sys/conf/files 1.1 +301 -0 src/sys/ddb/db_capture.c (new) 1.74 +1 -0 src/sys/ddb/db_command.c 1.37 +1 -0 src/sys/ddb/db_input.c 1.6 +3 -0 src/sys/ddb/db_main.c 1.38 +8 -0 src/sys/ddb/db_output.c 1.44 +15 -0 src/sys/ddb/ddb.h