Re: [PATCH 4/5] perf, tools, script: Add support for printing assembler

2017-01-23 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 23, 2017 at 11:55:21AM -0800, Andi Kleen escreveu: > > Do you know if there is any tool comparing the output of objdump -d to what > > is > > produced by a similar xed based tool? > > I'm not aware of such a tool, but could be written using the "xed" tool > in the xed distribution. Ho

Re: [PATCH 4/5] perf, tools, script: Add support for printing assembler

2017-01-23 Thread Andi Kleen
> Do you know if there is any tool comparing the output of objdump -d to what is > produced by a similar xed based tool? I'm not aware of such a tool, but could be written using the "xed" tool in the xed distribution. However I would trust xed over objdump, it is used widely in Intel tools with li

Re: [PATCH 4/5] perf, tools, script: Add support for printing assembler

2017-01-23 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 18, 2017 at 05:41:49PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > When dumping PT traces with perf script it is very useful to see the > assembler for each sample, so that it is easily possible to follow > the control flow. > > As using objdump is difficult and inefficient fr

[PATCH 4/5] perf, tools, script: Add support for printing assembler

2017-01-18 Thread Andi Kleen
From: Andi Kleen When dumping PT traces with perf script it is very useful to see the assembler for each sample, so that it is easily possible to follow the control flow. As using objdump is difficult and inefficient from perf script this patch uses the Intel xed library to implement assembler o

[PATCH 4/5] perf, tools, script: Add support for printing assembler

2017-01-09 Thread Andi Kleen
From: Andi Kleen When dumping PT traces with perf script it is very useful to see the assembler for each sample, so that it is easily possible to follow the control flow. As using objdump is difficult and inefficient from perf script this patch uses the Intel xed library to implement assembler o