Date: Thu, 3 Mar 2011 21:03:51 +0300 From: Chagin Dmitry <dchagin@freebsd.org> To: Robert Watson <rwatson@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219138 - head/usr.bin/kdump Message-ID: <20110303180351.GA6049@dchagin.static.corbina.ru> In-Reply-To: <alpine.BSF.2.00.1103031112230.91619@fledge.watson.org> References: <201103011642.p21GgTaH041022@svn.freebsd.org> <alpine.BSF.2.00.1103031112230.91619@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110303180351.GA6049>