Re: [PATCH v5 0/3] perf annotate: Data type profiling support for C++ classes and virtual calls
From: Namhyung Kim
Date: Fri Nov 06 2026 - 16:32:46 EST
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