Re: Test some kernel feature without recompile

From: Jaswinder Singh Rajput
Date: Sun Mar 22 2009 - 07:05:05 EST


On Sun, 2009-03-22 at 11:43 +0100, Dragoslav Zaric wrote:
> Hi,
>
> I know when you work on some kernel module, you can change code and load
> module again and test it, but what if you change some built in kernel
> .c file, why
> would I need to recompile whole kernel just to see what happens if I change one
> .c file ??
>
> Why can I just compile one changed .c file and copy it where compiled version of
> that file reside inside kernel tree? Or maybe there is some image info embedded
> inside compiled files, so that file must belong to specific image from
> which it is
> installed ?
>

hmm, everything is possible. If you want this feature then place an
order ;-)

Just curious do you want to reboot your system or you also want to see
the effect of that file in running kernel.

--
JSR


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/