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

Peter Zijlstra
2016-03-08T21:05:12Z

On Tue, Mar 08, 2016 at 09:44:58PM +0100, Jiri Olsa wrote:
> 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

Never noticed :-) Guess how I usually run it..