Re: [PATCH 1/2] perf intel-pt-decoder: Report instruction bytes and length in sample

From: Adrian Hunter
Date: Fri Oct 07 2016 - 09:50:14 EST


On 05/10/16 14:36, Arnaldo Carvalho de Melo wrote:
> Em Mon, Oct 03, 2016 at 05:30:32PM -0700, Andi Kleen escreveu:
>> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>>
>> Change the Intel PT decoder to pass up the length and the instruction
>> bytes of the decoded or sampled instruction in the perf sample.
>>
>> The decoder already knows this information, we just need to pass it
>> up. Since it is only a couple of movs it is not very expensive.
>>
>> Used in the next patch.
>
> Adrian, Ack?

I did a little tidy-up in Intel PT / BTS and re-based Andi's patch with my
SOB. Please see V3 patch I sent.