On Tue, Jan 03, 2017 at 05:51:46PM +0800, Wangnan (F) wrote:
> 
> 
> On 2017/1/3 16:19, Jiri Olsa wrote:
> > hi,
> > adding a way to configure switch data output
> > for size and time, like:
> > 
> >    $ sudo perf record -e 'sched:*' --switch-output=10M -avg
> >    callchain: type FP
> >    switch-output with 10M size threshold
> >    mmap size 528384B
> >    [ perf record: dump data: Woken up 37 times ]
> >    [ perf record: Dump perf.data.2017010309135512 ]
> >    [ perf record: dump data: Woken up 39 times ]
> >    [ perf record: Dump perf.data.2017010309135771 ]
> >    [ perf record: dump data: Woken up 38 times ]
> >    [ perf record: Dump perf.data.2017010309140005 ]
> >    ^C[ perf record: Woken up 16 times to write data ]
> >    [ perf record: Dump perf.data.2017010309140111 ]
> >    [ perf record: Captured and wrote 4.748 MB perf.data.<timestamp> ]
> >    ...
> > 
> > the default for switch-output option stays
> > and does the SIGUSR2 output switch
> > 
> > Also available in:
> >    git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
> >    perf/fixes
> > 
> > thanks,
> > jirka
> > 
> > 
> > Cc: Wang Nan <wangn...@huawei.com>
> > ---
> 
> Good functions, and thank you for fixing documentations.
> 
> You didn't cc patch 1 and 2 to me.

sry, will do next time..  thanks ;-)

jirka

Reply via email to