Re: [RFC] [PATCH] To list all active probes in the system

From: Ingo Molnar
Date: Tue Feb 06 2007 - 15:37:03 EST



* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Tue, 06 Feb 2007 15:25:35 +0530 Srinivasa Ds <srinivasa@xxxxxxxxxx> wrote:
>
> > I have developed a patch, that lists all active probes in
> > the system.
>
> userspace added the probes, so userspace should know where they all
> are?

it's a kernel resource that user-space can influence so it's sensible to
have some sort of visibility to them. For example if the userspace that
has the 'info' crashes then another piece of user-space might want to
recreate that info, to zap the probes.

also, this resource could leak, etc.

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