Re: [PATCH] Kprobes /proc entry

From: Nathan Lynch
Date: Tue Jan 11 2005 - 16:40:35 EST


On Mon, 2005-01-10 at 12:14, Greg KH wrote:
> On Mon, Jan 10, 2005 at 05:25:38PM +0100, Luca Falavigna wrote:
> > This simple patch adds a new file in /proc, listing every kprobe which
> > is currently registered in the kernel. This patch is checked against
> > kernel 2.6.10
>
> No, please do not add extra /proc files to the kernel. This belongs in
> /sys, as it has _nothing_ to do with processes.

Wouldn't this sort of thing be a good candidate for debugfs? If you're
messing with kprobes, then aren't you by definition doing kernel
debugging? :)


Nathan


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