Re: bzero & bcopy alignment



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?

_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: todays linux-next fails to boot
    ... the EIP value and run it through addr2line: ... Thanks for the hint, I rebuilt a failing kernel, and this is what ... did the new kernel fail in exactly the same place? ... should also replace the EIP in the new crash report on the addr2line ...
    (Linux-Kernel)
  • Re: Very high load on P4 machines with 2.4.28
    ... the machine with the highest load average is the ... a load of 0.75, pushing out 14Mbit/s. ... > increases your wait I/O time in this particular application. ... nothing that would suggest such change, but then I'm not a kernel hacker, I ...
    (Linux-Kernel)
  • Re: Dynamically loading binaries in Kernel mode.
    ... Right now only the kernel will load ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Xorg xserver blank using one kernel, but ok using another
    ... because xorg.conf is the same whether it's runinng under Xen or a normal kernel. ... The main difference beteween the blank screen and the ok screen is that when the display works, I get "VESA VBE DDC supported" but when it goes blank I get "VESA VBE DDC not supported". ... # This file was generated by dexconf, the Debian X Configuration tool, using ... Load "bitmap" ...
    (Debian-User)
  • Re: Xorg xserver blank using one kernel, but ok using another
    ... because xorg.conf is the same whether it's runinng under Xen or a normal kernel. ... The main difference beteween the blank screen and the ok screen is that when the display works, I get "VESA VBE DDC supported" but when it goes blank I get "VESA VBE DDC not supported". ... # This file was generated by dexconf, the Debian X Configuration tool, using ... Load "bitmap" ...
    (Debian-User)