Re: [PATCH v6 3/6] perf record: Add --call-graph fp,defer option for deferred callchains
From: Namhyung Kim
Date: Mon Nov 24 2025 - 15:27:59 EST
Hello,
On Fri, Nov 21, 2025 at 07:26:34AM +0100, Thomas Richter wrote:
> On 11/21/25 00:48, Namhyung Kim wrote:
> > Add a new callchain record mode option for deferred callchains. For now
> > it only works with FP (frame-pointer) mode.
> >
> > And add the missing feature detection logic to clear the flag on old
> > kernels.
> >
> > $ perf record --call-graph fp,defer -vv true
>
> Does this also works for dwarf format?
> # perf record --call-graph dwarf,defer ....
No, it's not supported. Maybe we can do similar just to dump stack
content and registers for dwarf before returning to user.
Thanks,
Namhyung