Re: [PATCH v7 3/6] perf util: Create function to parse time percent

2018-01-08 Thread Jin, Yao
On 1/8/2018 10:38 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Jan 08, 2018 at 11:31:49AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Dec 08, 2017 at 09:13:43PM +0800, Jin Yao escreveu: Current perf report/script/... have a --time option to limit the time range of output. But right now i

Re: [PATCH v7 3/6] perf util: Create function to parse time percent

2018-01-08 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 08, 2018 at 11:31:49AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Dec 08, 2017 at 09:13:43PM +0800, Jin Yao escreveu: > > Current perf report/script/... have a --time option to limit the time > > range of output. But right now it only supports absolute time. > > > > For easy u

Re: [PATCH v7 3/6] perf util: Create function to parse time percent

2018-01-08 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 08, 2017 at 09:13:43PM +0800, Jin Yao escreveu: > Current perf report/script/... have a --time option to limit the time > range of output. But right now it only supports absolute time. > > For easy using, now it can support a percent of time usage. > > For example: > > 1. Select the

[PATCH v7 3/6] perf util: Create function to parse time percent

2017-12-07 Thread Jin Yao
Current perf report/script/... have a --time option to limit the time range of output. But right now it only supports absolute time. For easy using, now it can support a percent of time usage. For example: 1. Select the second 10% time slice perf report --time 10%/2 2. Select from 0% to 10%