Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-10-21 Thread Michael Kerrisk (man-pages)
Hi Wangnan On 10/21/2016 09:13 AM, Wangnan (F) wrote: > > > On 2016/10/21 15:06, Michael Kerrisk (man-pages) wrote: >> Hello Wangnan, >> >> The patch below seems to have landed in Linux 4.7, >> commit 86e7972f690c1017fd086cdfe53d8524e68c661c >> >> Could you draft a man-pages patch for this

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-10-21 Thread Michael Kerrisk (man-pages)
Hi Wangnan On 10/21/2016 09:13 AM, Wangnan (F) wrote: > > > On 2016/10/21 15:06, Michael Kerrisk (man-pages) wrote: >> Hello Wangnan, >> >> The patch below seems to have landed in Linux 4.7, >> commit 86e7972f690c1017fd086cdfe53d8524e68c661c >> >> Could you draft a man-pages patch for this

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-10-21 Thread Wangnan (F)
On 2016/10/21 15:06, Michael Kerrisk (man-pages) wrote: Hello Wangnan, The patch below seems to have landed in Linux 4.7, commit 86e7972f690c1017fd086cdfe53d8524e68c661c Could you draft a man-pages patch for this interface change, please? Or, failing that, a plain-text description that we

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-10-21 Thread Wangnan (F)
On 2016/10/21 15:06, Michael Kerrisk (man-pages) wrote: Hello Wangnan, The patch below seems to have landed in Linux 4.7, commit 86e7972f690c1017fd086cdfe53d8524e68c661c Could you draft a man-pages patch for this interface change, please? Or, failing that, a plain-text description that we

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-10-21 Thread Michael Kerrisk (man-pages)
Hello Wangnan, The patch below seems to have landed in Linux 4.7, commit 86e7972f690c1017fd086cdfe53d8524e68c661c Could you draft a man-pages patch for this interface change, please? Or, failing that, a plain-text description that we can integrate into the man-page. Thanks, Michael On

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-10-21 Thread Michael Kerrisk (man-pages)
Hello Wangnan, The patch below seems to have landed in Linux 4.7, commit 86e7972f690c1017fd086cdfe53d8524e68c661c Could you draft a man-pages patch for this interface change, please? Or, failing that, a plain-text description that we can integrate into the man-page. Thanks, Michael On

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-23 Thread Vince Weaver
On Wed, 23 Mar 2016, Wangnan (F) wrote: > > > Can you also do a patch to the man-pages? > > > >http://man7.org/linux/man-pages/man2/perf_event_open.2.html > > Sure. > > I think I need to provide a patch for: > > http://git.kernel.org/cgit/docs/man-pages/man-pages.git > > But which one

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-23 Thread Vince Weaver
On Wed, 23 Mar 2016, Wangnan (F) wrote: > > > Can you also do a patch to the man-pages? > > > >http://man7.org/linux/man-pages/man2/perf_event_open.2.html > > Sure. > > I think I need to provide a patch for: > > http://git.kernel.org/cgit/docs/man-pages/man-pages.git > > But which one

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-23 Thread Peter Zijlstra
On Wed, Mar 23, 2016 at 05:33:53PM +0800, Wangnan (F) wrote: > Glad to see you start to look at this patchset. My brain is completely fried from staring at fuzzer output for weeks, I just need to do _something_, _anything_ else for a while :-)

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-23 Thread Peter Zijlstra
On Wed, Mar 23, 2016 at 05:33:53PM +0800, Wangnan (F) wrote: > Glad to see you start to look at this patchset. My brain is completely fried from staring at fuzzer output for weeks, I just need to do _something_, _anything_ else for a while :-)

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-23 Thread Wangnan (F)
On 2016/3/23 17:16, Peter Zijlstra wrote: On Mon, Mar 14, 2016 at 09:59:41AM +, 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

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-23 Thread Wangnan (F)
On 2016/3/23 17:16, Peter Zijlstra wrote: On Mon, Mar 14, 2016 at 09:59:41AM +, 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

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-23 Thread Peter Zijlstra
On Mon, Mar 14, 2016 at 09:59:41AM +, 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

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-23 Thread Peter Zijlstra
On Mon, Mar 14, 2016 at 09:59:41AM +, 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

[PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-14 Thread Wang Nan
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

[PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-14 Thread Wang Nan
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

[RESEND PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-06 Thread Wang Nan
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

[RESEND PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-06 Thread Wang Nan
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

[PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-01-25 Thread Wang Nan
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

[PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-01-25 Thread Wang Nan
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