bzero & bcopy alignment

Peter Jeremy peterjeremy at optushome.com.au
Mon Jan 22 10:15:56 UTC 2007


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 kernel?
>> 
>> 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).

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20070122/a3d40cb1/attachment.pgp


More information about the freebsd-arch mailing list