Re: [PATCH 7/9] ftrace, perf: Add support to use functiontracepoint in perf

From: Steven Rostedt
Date: Mon Nov 28 2011 - 15:13:12 EST


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.

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