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

From: Ingo Molnar
Date: Tue Mar 08 2016 - 08:49:18 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Mon, Mar 07, 2016 at 03:50:14AM +0000, Wang Nan wrote:
> > This patch set has been posted multiple times (with and without
> > corresponding 'perf tool' patches), and doesn't receive further
> > comment. I think it should be okay to merge them into mainline.
> > There are many perf's improvement depend on it. However, Peter
> > is not responsive after I fixed some problems he pointed out.
> >
> > Introduces 'write_backward' into perf_event_attr, allows kernel
> > writing the ring buffer from the end of it. This feature allows
> > extracting data from overwritable ring buffer.
> >
> > Wang Nan (5):
> > perf core: Introduce new ioctl options to pause and resume ring buffer
> > perf core: Set event's default overflow_handler
> > perf core: Prepare writing into ring buffer from end
> > perf core: Add backward attribute to perf event
> > perf core: Reduce perf event output overhead by new overflow handler
>
> perf kernel features are currently on hold until I can manage to run a
> fuzzer for more than a few minutes without my machine having a seizure.

Btw., could you describe exactly what commands you are running, with what
configuration options (if that matters), so that people who'd like our feature
freeze to be lifted can help out?

Thanks,

Ingo