Re: [PATCH] perf annotate: Support multiple events without group

2018-05-17 Thread Jin, Yao
On 5/18/2018 4:27 AM, Jiri Olsa wrote: On Thu, May 17, 2018 at 01:27:50PM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, May 10, 2018 at 09:59:22PM +0800, Jin Yao escreveu: See example, perf record -e cycles,branches ./div perf annotate main --stdio or perf annotate main --stdio2 or perf ann

Re: [PATCH] perf annotate: Support multiple events without group

2018-05-17 Thread Jiri Olsa
On Thu, May 17, 2018 at 01:27:50PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, May 10, 2018 at 09:59:22PM +0800, Jin Yao escreveu: > > See example, > > > > perf record -e cycles,branches ./div > > perf annotate main --stdio or > > perf annotate main --stdio2 or > > perf annotate main > > > >

Re: [PATCH] perf annotate: Support multiple events without group

2018-05-17 Thread Arnaldo Carvalho de Melo
Em Thu, May 10, 2018 at 09:59:22PM +0800, Jin Yao escreveu: > See example, > > perf record -e cycles,branches ./div > perf annotate main --stdio or > perf annotate main --stdio2 or > perf annotate main > > The "perf annotate" should show both cycles and branches on the > left side, but actually i

Re: [PATCH] perf annotate: Support multiple events without group

2018-05-16 Thread Jin, Yao
Hi, Any comments for this fix? Thanks Jin Yao On 5/10/2018 9:59 PM, Jin Yao wrote: See example, perf record -e cycles,branches ./div perf annotate main --stdio or perf annotate main --stdio2 or perf annotate main The "perf annotate" should show both cycles and branches on the left side, but

[PATCH] perf annotate: Support multiple events without group

2018-05-09 Thread Jin Yao
See example, perf record -e cycles,branches ./div perf annotate main --stdio or perf annotate main --stdio2 or perf annotate main The "perf annotate" should show both cycles and branches on the left side, but actually it only shows one event cycles. It works with events group like: perf record -