bzero & bcopy alignment
ivoras at fer.hr
Mon Jan 22 10:22:33 UTC 2007
Peter Jeremy wrote:
> 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).
Ok, so assuming the caller is in the kernel, the address is directly
usable in addr2line?
More information about the freebsd-arch