Re: [PATCH] perf annotate: Display multiple events for --stdio

2018-05-09 Thread Jin, Yao
On 5/10/2018 1:24 AM, Arnaldo Carvalho de Melo wrote: Em Wed, May 09, 2018 at 01:42:51PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, May 09, 2018 at 11:57:15PM +0800, Jin Yao escreveu: When we perform following command lines: perf record -e "{cycles,branches}" ./div perf annotate main

Re: [PATCH] perf annotate: Display multiple events for --stdio

2018-05-09 Thread Jin, Yao
On 5/10/2018 12:42 AM, Arnaldo Carvalho de Melo wrote: Em Wed, May 09, 2018 at 11:57:15PM +0800, Jin Yao escreveu: When we perform following command lines: perf record -e "{cycles,branches}" ./div perf annotate main --stdio Only shows one event "cycles" and the displaying format is not corre

Re: [PATCH] perf annotate: Display multiple events for --stdio

2018-05-09 Thread Arnaldo Carvalho de Melo
Em Wed, May 09, 2018 at 01:42:51PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, May 09, 2018 at 11:57:15PM +0800, Jin Yao escreveu: > > When we perform following command lines: > > > > perf record -e "{cycles,branches}" ./div > > perf annotate main --stdio > > > > Only shows one event "cyc

Re: [PATCH] perf annotate: Display multiple events for --stdio

2018-05-09 Thread Arnaldo Carvalho de Melo
Em Wed, May 09, 2018 at 11:57:15PM +0800, Jin Yao escreveu: > When we perform following command lines: > > perf record -e "{cycles,branches}" ./div > perf annotate main --stdio > > Only shows one event "cycles" and the displaying format is not correct. > > Percent | Source code & D

[PATCH] perf annotate: Display multiple events for --stdio

2018-05-09 Thread Jin Yao
When we perform following command lines: perf record -e "{cycles,branches}" ./div perf annotate main --stdio Only shows one event "cycles" and the displaying format is not correct. Percent | Source code & Disassembly of div for cycles (44550 samples) --