Messages in this thread | | | Date | Wed, 30 Mar 2016 08:46:12 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 1/4] perf core: Introduce new ioctl options to pause and resume ring buffer |
| |
On Wed, Mar 30, 2016 at 09:57:02AM +0800, Wangnan (F) wrote: > > > On 2016/3/29 20:54, Peter Zijlstra wrote: > >On Mon, Mar 28, 2016 at 06:41:29AM +0000, Wang Nan wrote: > >>Add new ioctl() to pause/resume ring-buffer output. > >> > >>In some situations we want to read from ring buffer only when we > >>ensure nothing can write to the ring buffer during reading. Without > >>this patch we have to turn off all events attached to this ring buffer > >>to achieve this. > >> > >>This patch is for supporting overwrite ring buffer. Following > >>commits will introduce new methods support reading from overwrite ring > >>buffer. Before reading, caller must ensure the ring buffer is frozen, or > >>the reading is unreliable. > >> > >>Signed-off-by: Wang Nan <wangnan0@huawei.com> > >I made the below changes. > > Can I add your SOB when I resend it?
No need, I've got it.
| |