Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2007 21:15:51 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: bzero & bcopy alignment
Message-ID:  <20070122101551.GJ837@turion.vk2pj.dyndns.org>
In-Reply-To: <45B48968.20506@fer.hr>
References:  <ep0mlv$194$1@sea.gmane.org> <20070121140019.A83688@xorpc.icir.org> <ep0p8i$86q$1@sea.gmane.org> <20070122084634.GH837@turion.vk2pj.dyndns.org> <45B48968.20506@fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070122101551.GJ837>