From owner-freebsd-arch@FreeBSD.ORG Mon Jan 22 10:15:56 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D18DF16A401 for ; Mon, 22 Jan 2007 10:15:56 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 64B3C13C45D for ; Mon, 22 Jan 2007 10:15:56 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l0MAFpPD005690; Mon, 22 Jan 2007 21:15:51 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l0MAFpOI005689; Mon, 22 Jan 2007 21:15:51 +1100 (EST) (envelope-from peter) Date: Mon, 22 Jan 2007 21:15:51 +1100 From: Peter Jeremy To: Ivan Voras Message-ID: <20070122101551.GJ837@turion.vk2pj.dyndns.org> References: <20070121140019.A83688@xorpc.icir.org> <20070122084634.GH837@turion.vk2pj.dyndns.org> <45B48968.20506@fer.hr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zjcmjzIkjQU2rmur" Content-Disposition: inline In-Reply-To: <45B48968.20506@fer.hr> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-arch@freebsd.org Subject: Re: bzero & bcopy alignment X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 10:15:56 -0000 --zjcmjzIkjQU2rmur Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 2007-Jan-22 10:52:40 +0100, Ivan Voras wrote: >Peter Jeremy wrote: >> On Sun, 2007-Jan-21 23:25:14 +0100, Ivan Voras wrote: >>> Any magic tricks to identify the caller of "current" function in the ke= rnel? >>=20 >> On gcc: __builtin_return_address() > >Ok, this looks nice. Can I convert the result to something processable >by addr2line? (in other words: is kernel relocated on load?) Yes and no (respectively) for the core kernel (kld's are relocated). --=20 Peter Jeremy --zjcmjzIkjQU2rmur Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFtI7X/opHv/APuIcRAvy2AJ4s8lBZfluaihbQYTsvsSvCSHJg+ACgoFh6 dqpQzHfEllFAEOKK34jc9ho= =yOk2 -----END PGP SIGNATURE----- --zjcmjzIkjQU2rmur--