Re: [PATCH 1/3] Kprobes: Make kprobe modules more portable

From: Christoph Hellwig
Date: Tue Aug 08 2006 - 12:38:13 EST


On Tue, Aug 08, 2006 at 09:34:00AM -0700, Stephen Hemminger wrote:
> Okay, does this makes kprobe's the first reflective kernel interface.

Actually kallsyms_lookup_name was the first interface like that. And lots
of external kprobes used it like that - in fact tcp_probe.c is the first
one I've seen doing it differently. But kallsyms_lookup_name is a really
awkward lowlevel buildingblock that's almost impossible to use correctly,
so this patch hides it behind the proper kprobes interface.

-
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/