Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

From: Jiri Olsa
Date: Tue Mar 08 2016 - 15:45:18 EST


On Tue, Mar 08, 2016 at 09:07:46PM +0100, Peter Zijlstra wrote:
> On Tue, Mar 08, 2016 at 08:56:42PM +0100, Jiri Olsa wrote:
> > > # cat go-fuzz.sh
> > > #!/bin/bash
> > >
> > > echo 1 > /proc/sys/kernel/traceoff_on_warning
> > > echo 1 > /debug/tracing/options/stacktrace
> > > echo 1 > /debug/tracing/events/sched/enable
> >
> > are you running this under root?
>
> Of course ;-) I'm not even sure these machines have a user account.
>
> Also, what's the point of fuzzing if half your 'fun' options return
> -EPERM.

IIRC the perf fuzzer (one from Vince) could screw your machine having
it run under root

jirka