From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 28 08:49:32 2007 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3F4816A417 for ; Wed, 28 Nov 2007 08:49:32 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id AE7A613C447 for ; Wed, 28 Nov 2007 08:49:32 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 662C84700D; Wed, 28 Nov 2007 03:53:22 -0500 (EST) Date: Wed, 28 Nov 2007 08:49:24 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Wesley Shields In-Reply-To: <20071128042152.GB95446@atarininja.org> Message-ID: <20071128084746.L94692@fledge.watson.org> References: <20071127171228.N94692@fledge.watson.org> <20071128042152.GB95446@atarininja.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: hackers@FreeBSD.org Subject: Re: Updated procstat(1) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 08:49:32 -0000 On Tue, 27 Nov 2007, Wesley Shields wrote: > Here's an updated patch to sys/amd64/amd64/db_trace.c (it's a diff against > revision 1.81). It changes "register rbp" to be "register_t rbp" and fixes > the extra "W" in TD_IS_SWAPPED. The kernel built fine after these changes. > I'll test it out tomorrow. I've gone ahead and applied that change in Perforce, and look forward to hearing back on the testing. >> I think procstat(1) is getting a lot closer to commitable state for >> 8-CURRENT, but further feedback would be most welcome (including reports of >> success on non-i386 architectures, and possibly patches to fix them). For >> FreeBSD developers with P4 access, you can also check out > > Thank you for this. I think procstat(1) is going to be very useful. If you can think of other process-inspection related things it could be doing, let me know. The one thing I currently have in mind that I haven't made progress on is dumping the kernel signal state for the process (i.e., what signals have handlers, etc), which may be useful when debugging signal problems for an application. Robert N M Watson Computer Laboratory University of Cambridge