Re: [PATCH v4 02/15] perf tools script: Support insn output for normal samples

2019-03-08 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 05, 2019 at 06:47:45AM -0800, Andi Kleen escreveu: > From: Andi Kleen > > perf script -F +insn was only working for PT traces because > the PT instruction decoder was filling in the insn/insn_len > sample attributes. Support it for non PT samples too on x86 > using the existing x86 in

[PATCH v4 02/15] perf tools script: Support insn output for normal samples

2019-03-05 Thread Andi Kleen
From: Andi Kleen perf script -F +insn was only working for PT traces because the PT instruction decoder was filling in the insn/insn_len sample attributes. Support it for non PT samples too on x86 using the existing x86 instruction decoder. This adds some extra checking to ensure that we don't t