Re: [PATCHSET 0/6] perf annotate-data: Small updates in the data type profiling (v1)

From: Arnaldo Carvalho de Melo
Date: Thu May 02 2024 - 10:25:50 EST


On Wed, May 01, 2024 at 11:00:05PM -0700, Namhyung Kim wrote:
> Hello,
>
> This is a mix of bug fixes and optimization in the data type profiling.
>
> Firstly it now caches global variables and looks them up by address later.
> This will be good for performance as well as improves the success rates
> because some variables are defined in a separate file (compile unit) and
> has no info in the call site for some reason.
>
> Also it properly checks instructions that use more than one register for
> a memory access like x86 SIB addressing. And check the type of stack
> variables correctly and discard constant values (without type info).

Applied locally, doing build tests.

- Arnaldo