From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 11 16:07:33 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0FD616A4CE for ; Mon, 11 Apr 2005 16:07:33 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8DBA43D1D for ; Mon, 11 Apr 2005 16:07:32 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id E94DFAC976; Mon, 11 Apr 2005 18:07:29 +0200 (CEST) Date: Mon, 11 Apr 2005 18:07:29 +0200 From: Pawel Jakub Dawidek To: Jeff Roberson Message-ID: <20050411160729.GP837@darkness.comp.waw.pl> References: <20050411085956.Y28571@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G/WKQfTgLd6RqXFs" Content-Disposition: inline In-Reply-To: <20050411085956.Y28571@mail.chesapeake.net> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: hackers@freebsd.org Subject: Re: JKH Task: Stack saving/tracing functionality. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 16:07:33 -0000 --G/WKQfTgLd6RqXFs Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 11, 2005 at 09:08:33AM -0400, Jeff Roberson wrote: +> I have proprietary code from a previous employer of mine that implements +> some really useful debugging features. I'm looking for someone who is +> interested in cleaning it up, making it architecture indepenent, and +> getting it running on current. The code basically allows you to save and +> manipulate stack information. +>=20 +> This would be very useful for things like lockmgr, which right now we +> can't really pass file:line information down to without making #ifdef me= ss +> of all of the APIs as options DEBUG_LOCKs does somewhat today. Lockmgr +> would have a buffer which contained the last N EIPs up the callstack, and +> this information could be queried and printed using a simple api. +>=20 +> Interested parties please email me. We can discuss this and I can provi= de +> source. It would be probably useful for wintess, so when first order is stored, it can be stored with stack and on LOR, both backtraces can be shown. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --G/WKQfTgLd6RqXFs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCWqDBForvXbEpPzQRAlF9AJ4mTUAGH7SPG6M9Spl/Y9EKzZPOcgCg8Hn3 rdt9zAw37K5BXAK1RbHBKT8= =uDw9 -----END PGP SIGNATURE----- --G/WKQfTgLd6RqXFs--