Re: [Perfctr-devel] RE: [perfmon] Re: quick overview of theperfmon2 interface

From: Bryan O'Sullivan
Date: Thu Jan 26 2006 - 13:24:59 EST


On Wed, 2006-01-25 at 23:48 -0800, Stephane Eranian wrote:

> You need to be root to insert the module. But I believe that for many user
> environments, this is more practical than having to recompile a custom kernel.

Clearly.

> You can imagine the format being shipped with the tool, when the sysadmin
> installs the tool it also installs the module.

In that case, you need some kind of per-distro cruft to make sure the
module gets loaded at every boot, or a setuid program that can install
the module, right?. Neither of these approaches works well in a cluster
environment where you're running your tools from a shared directory.

I'd really like the default mode of operation for users to not require
root privileges to get at normal functionality. This is something
perfctr makes possible, for example.

<b

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