Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1549682

Re: [PATCH 0/7] perf tools: Add switch-output size and time threshold options

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/7] perf tools: Add switch-output size and time threshold options
Date 2017-01-03 11:40 +0100
Message-ID <sVuFz-4UG-13@gated-at.bofh.it> (permalink)
References <sVsDM-3nL-5@gated-at.bofh.it> <sVu2R-4qr-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <wangnan0@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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] perf tools: Add switch-output size and time threshold options Jiri Olsa <jolsa@kernel.org> - 2017-01-03 09:30 +0100
  [PATCH 1/7] tools lib subcmd: Add OPT_STRING_OPTARG_SET option Jiri Olsa <jolsa@kernel.org> - 2017-01-03 09:30 +0100
    [tip:perf/urgent] tools lib subcmd: Add OPT_STRING_OPTARG_SET  option tip-bot for Jiri Olsa <tipbot@zytor.com> - 2017-01-05 09:00 +0100
  [PATCH 4/7] perf record: Add struct switch_output Jiri Olsa <jolsa@kernel.org> - 2017-01-03 09:30 +0100
  [PATCH 5/7] perf record: Change switch-output option to take optional argument Jiri Olsa <jolsa@kernel.org> - 2017-01-03 09:30 +0100
  Re: [PATCH 0/7] perf tools: Add switch-output size and time threshold  options "Wangnan (F)" <wangnan0@huawei.com> - 2017-01-03 11:00 +0100
    Re: [PATCH 0/7] perf tools: Add switch-output size and time  threshold options Jiri Olsa <jolsa@redhat.com> - 2017-01-03 11:40 +0100
    Re: [PATCH 0/7] perf tools: Add switch-output size and time  threshold options Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-01-10 14:40 +0100
      Re: [PATCH 0/7] perf tools: Add switch-output size and time  threshold options Jiri Olsa <jolsa@redhat.com> - 2017-01-10 19:50 +0100

csiph-web