On Thu, 2008-07-17 at 16:26 -0400, Frank Ch. Eigler wrote:
It's not exactly wasted ... the calculations have to be done anyway for
modules.
Well, no, they're the head code. It's actually used in CPU boot and
tear down, one of the things it's useful to probe, I think.
Dangerous as in it's not necessarily part of the kernel linker scripts.
Some arches have it defined as a symbol, some have it as a linker script
definition ... that's why it's location is strange.
The point, really, is to remove some of the fragile dependencies between
systemtap and the kernel.
Then the definition needs altering. I can see that the industrial
customers aren't interested but kernel developers are ... a lot of
problems occur in the init sections.
I think you'll find that systemtap will run quite happily from a shell
in an initramfs before the init sections are discarded. Plus there's
always module init sections which can appear at any time.
James
--