building without module support

Baruch Even baruch@ev-en.org
Sat Aug 27 20:21:00 GMT 2005


Hi,

I'm testing the kernel with some random config. I have a config where
CONFIG_MODULES=n and CONFIG_KPROBES=y, the problem I have is that
kprobes uses module_alloc which is not available in such a config.

On i386 module_alloc is trivial, but on other arches it is not, so
folding it into kprobes is not the way.

A simple solution I can think of is to force CONFIG_MODULES=y for
CONFIG_KPROBES. But that seems gross.

Baruch



More information about the Systemtap mailing list