From owner-svn-src-all@FreeBSD.ORG Thu Mar 3 18:04:10 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 932321065673; Thu, 3 Mar 2011 18:04:10 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 399F28FC08; Thu, 3 Mar 2011 18:04:09 +0000 (UTC) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 2D9AFCC4BA; Thu, 3 Mar 2011 21:03:57 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 305534779; Thu, 03 Mar 2011 21:03:57 +0300 Received: from dchagin.static.corbina.ru (localhost [127.0.0.1]) by dchagin.static.corbina.ru (8.14.4/8.14.4) with ESMTP id p23I3uon016189; Thu, 3 Mar 2011 21:03:56 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.4/8.14.4/Submit) id p23I3p58016188; Thu, 3 Mar 2011 21:03:51 +0300 (MSK) (envelope-from dchagin) Date: Thu, 3 Mar 2011 21:03:51 +0300 From: Chagin Dmitry To: Robert Watson Message-ID: <20110303180351.GA6049@dchagin.static.corbina.ru> References: <201103011642.p21GgTaH041022@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219138 - head/usr.bin/kdump X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 18:04:10 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 03, 2011 at 11:14:59AM +0000, Robert Watson wrote: >=20 > On Tue, 1 Mar 2011, Dmitry Chagin wrote: >=20 > > Teach kdump to decode linux syscalls names too. > > > > Fix bug introduced in my previous commit: the kernel always dump native > > signal numbers, so no need to check the ABI in ktrpsig(). >=20 > Does this mean that we're eliminating the need for the long-broken=20 > linux_kdump? >=20 mostly yes, w/o syscall parameter decoding. > Is there any ABI record in ktrace files, and/or should we add one somehow? >=20 Now kernel writes sv_flags to the trace file at fork, exec, exit time. And kdump knows how to handle this. > I'd love to be able to process a kdump file generated from a blend of ABI= s:=20 > i.e., if I do ktrace -di tcsh, and then run a bunch of commands from diff= erent=20 > ABIs (FreeBSD/32-bit Intel, FreeBSD/64-bit Intel, Linux/32-bit Intel, and= =20 > possible FreeBSD/64 MIPS so that a distributed ktracing tool gathers the= =20 > results across hosts for a single action), have kdump Just Work. This=20 > suggests that a per-record ABI indicator might be useful. >=20 > Robert This is the next stage :) -- chd, Have fun! >=20 --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1v2AcACgkQ0t2Tb3OO/O2L4QCfSUi0UTPxJKX3PiFOh6N9BWhH YMkAn0OkffY6Ylxt5NWE0mkOqBq3Oi2u =RwtQ -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--