Re: [PATCH 7/9] ftrace, perf: Add support to use function tracepointin perf

From: Jiri Olsa
Date: Tue Nov 29 2011 - 05:10:35 EST


On Mon, Nov 28, 2011 at 03:13:09PM -0500, Steven Rostedt wrote:
> On Mon, 2011-11-28 at 21:03 +0100, Peter Zijlstra wrote:
> > On Mon, 2011-11-28 at 14:58 -0500, Steven Rostedt wrote:
> > > > perf stat -e ftrace:function ls
> > >
> > > Question. This is a root only command, correct? Otherwise, we are
> > > allowing any user to create a large performance impact to the system.
> >
> > Typically not, although I haven't looked at Jiri's implementation of the
> > function tracepoint.
> >
>
> I would not allow function tracing for non root users. It's just way too
> invasive to let such a thing happen.

I believe it's for root only, I'll double check

jirka

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