Re: [PATCH v3 5/5] perf report: Sort by sampled cycles percent per block for tui

2019-10-23 Thread Jin, Yao
On 10/23/2019 7:36 PM, Jiri Olsa wrote: On Tue, Oct 22, 2019 at 04:07:10PM +0800, Jin Yao wrote: Previous patch has implemented a new sort option "total_cycles". But there was only stdio mode supported. This patch supports the tui mode and support '--percent-limit'. For example, perf rec

Re: [PATCH v3 5/5] perf report: Sort by sampled cycles percent per block for tui

2019-10-23 Thread Jiri Olsa
On Tue, Oct 22, 2019 at 04:07:10PM +0800, Jin Yao wrote: > Previous patch has implemented a new sort option "total_cycles". > But there was only stdio mode supported. > > This patch supports the tui mode and support '--percent-limit'. > > For example, > > perf record -b ./div > perf report -s

[PATCH v3 5/5] perf report: Sort by sampled cycles percent per block for tui

2019-10-22 Thread Jin Yao
Previous patch has implemented a new sort option "total_cycles". But there was only stdio mode supported. This patch supports the tui mode and support '--percent-limit'. For example, perf record -b ./div perf report -s total_cycles --percent-limit 1 # Samples: 2753248 of event 'cycles' Samp