Re: [PATCH v5 0/3] perf annotate: Data type profiling support for C++ classes and virtual calls
From: Yanbo Zhao
Date: Fri Nov 06 2026 - 23:39:21 EST
Thanks very much for your help!
Best,
Yanbo Zhao
On Fri, Nov 6, 2026 at 4:32 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>
> On Thu, 05 Nov 2026 13:19:46 -0500, Yanbo Zhao wrote:
> > Data type profiling currently only understands C struct/union types.
> > For C++ workloads, member accesses through base class subobjects
> > cannot be resolved, and virtual function calls (indirect calls through
> > the vtable) lose the return type of the callee: the register holding
> > the returned value becomes unknown, which matters when it's used
> > directly to access memory like 'p->next()->val' where no DWARF
> > variable describes the temporary.
> >
> > [...]
>
> Applied to perf-tools-next, thanks!
>
> Best regards
> Namhyung
>
>