Re: [PATCH v3 1/3] perf diff: Support --time filter option

2019-03-04 Thread Jin, Yao
On 3/4/2019 11:41 PM, Jiri Olsa wrote: On Mon, Mar 04, 2019 at 08:52:38PM +0800, Jin Yao wrote: For better support for perf diff, it would be useful to add --time filter option to diff the samples within given time window. It supports time percent with multipe time ranges. Time string is

Re: [PATCH v3 1/3] perf diff: Support --time filter option

2019-03-04 Thread Jiri Olsa
On Mon, Mar 04, 2019 at 08:52:38PM +0800, Jin Yao wrote: > For better support for perf diff, it would be useful to add --time filter > option to diff the samples within given time window. > > It supports time percent with multipe time ranges. Time string is > 'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'.

[PATCH v3 1/3] perf diff: Support --time filter option

2019-03-03 Thread Jin Yao
For better support for perf diff, it would be useful to add --time filter option to diff the samples within given time window. It supports time percent with multipe time ranges. Time string is 'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'. For example: Select the second 10% time slice to diff: perf diff