Re: [PATCH 9/18] 2.6.17.9 perfmon2 patch for review: kernel-level interface

From: Andi Kleen
Date: Sun Aug 27 2006 - 14:28:24 EST


Chuck Ebbert <76306.1226@xxxxxxxxxxxxxx> writes:

> In-Reply-To: <20060825134704.GA21398@xxxxxxxxxxxxx>
>
> On Fri, 25 Aug 2006 14:47:04 +0100, Christoph Hellwig wrote:
>
> > > This interface is for people writing kprobes who want to do performance
> > > monitoring within their probe code. There will probably never be any
> > > in-kernel users, just like there are no in-kernel users of kprobes.
> >
> > Wrong argument. There is a in-tree user of kprobes and I plan to submit
> > a lot more.
>
> OK. More than two years after kprobes went into the kernel, a single
> in-kernel user has now appeared in 2.6.18-rc: /net/ipv4/tcp_probe.c

No rules without exceptions. But there has to be a quite good rationale.
kprobes had one. The mythical perfmon in kernel user doesn't so far.

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