Re: [PATCH 1/3] perf script brstackinsn: Fix recovery from LBR/binary mismatch

2019-09-30 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 27, 2019 at 04:35:44PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > When the LBR data and the instructions in a binary do not match the > loop printing instructions could get confused and print a long > stream of bogus instructions. > > The problem was that if the instruction

[PATCH 1/3] perf script brstackinsn: Fix recovery from LBR/binary mismatch

2019-09-27 Thread Andi Kleen
From: Andi Kleen When the LBR data and the instructions in a binary do not match the loop printing instructions could get confused and print a long stream of bogus instructions. The problem was that if the instruction decoder cannot decode an instruction it ilen wasn't initialized, so the loop