Re: ktrace-pre-2.1.48-4

Michael L. Galbraith (mikeg@weiden.de)
Sat, 9 Aug 1997 19:25:33 +0200 (MET DST)


On Sat, 9 Aug 1997, Ingo Molnar wrote:

>
> On Fri, 8 Aug 1997, Michael L. Galbraith wrote:
>
> > Wanting to do some profiling, I tried to paint ktrace-2.1.32 into pre-2.1.48-4.
> > I'm pretty sure that I screwed up with what I did with __initfunc. This patch
> > in it's existing form is a great way to rapidly reboot the system.. [...]
>
> ;)
>
> heres a full ktrace-2.1.48.tar.gz. [Watch out there are a few SMP-only
> flags hardcoded, remove them if running it on uniprocessor ... the linker
> will warn you so no real problem. The QuickStart should tell the rest]
>

Thankyou very much!!! (only kernel _anything_ tool I've got)

Looking for the reboot problem was educational even if I didn't find it.
(vmlinux.lds)

. = ALIGN(4096); /* Init code and data */
__init_begin = .; /* AHA! so that's where the darn thing is */
.text.init : { *(.text.init) }
.data.init : { *(.data.init) }
. = ALIGN(4096); /* AHA! so that's how it gets page aligned */
__init_end = .;

-Mike