Re: [TEST PATCH] Test NMI kprobe modules
From: Mathieu Desnoyers
Date: Wed Apr 16 2008 - 10:59:52 EST
* Ingo Molnar (mingo@xxxxxxx) wrote:
>
> * Mathieu Desnoyers <compudj@xxxxxxxxxxxxxxxxxx> wrote:
>
> > +long debug_eip, debug_cs, debug_eflags, debug_extra, debug_extra2, debug_extra3, debug_extra4;
> > +long debugo_eip, debugo_cs, debugo_eflags, debugo_extra, debugo_extra2, debugo_extra3, debugo_extra4;
> > +EXPORT_SYMBOL(debug_eip);
> > +EXPORT_SYMBOL(debug_cs);
> > +EXPORT_SYMBOL(debug_eflags);
> > +EXPORT_SYMBOL(debug_extra);
> > +EXPORT_SYMBOL(debug_extra2);
> > +EXPORT_SYMBOL(debug_extra3);
> > +EXPORT_SYMBOL(debug_extra4);
> > +EXPORT_SYMBOL(debugo_eip);
> > +EXPORT_SYMBOL(debugo_cs);
> > +EXPORT_SYMBOL(debugo_eflags);
> > +EXPORT_SYMBOL(debugo_extra);
> > +EXPORT_SYMBOL(debugo_extra2);
> > +EXPORT_SYMBOL(debugo_extra3);
> > +EXPORT_SYMBOL(debugo_extra4);
>
> ok, while this is a test patch of yours, lets make one thing sure: all
> things hook-alike instrumentation _MUST_ and will stay stay GPL
> exported. It's all very internal, and there will be no automatic,
> programmable interface stability guarantees for any of the markers that
> kabi crap could come and shackle the kernel with ... (it will all be
> stable to SystemTap of course - but SystemTap is a kernel-internal
> entity in that regard)
>
> Ingo
>
Yes, I agree. This patch is just an ugly test-hack. :)
I already designed my LTTng tracer so it follows changes to the internal
kernel structures as easily as possible, but yes, it is kernel internal
too.
Mathieu
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
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/