Re: [PATCHv3 bpf-next 12/12] bpf: Avoid changing callchain in bpf_get_stackid_pe

Jiri Olsa <[email protected]> Tue, 4 Aug 2026 22:05:23 +0200
Newsgroups org.kernel.vger.bpf
Message-ID <anJGA8BeXZN74o_J@krava>
On Mon, Aug 03, 2026 at 10:06:21PM +0000, [email protected] wrote:
> >     bpf: Avoid changing callchain in bpf_get_stackid_pe
> >
> >     There's no need to modify the trace object bpf_get_stackid_pe, we just
> >     need to pass the needed callchain length in separate argument.
> 
> This isn't a bug, but should the first sentence read "modify the trace
> object in bpf_get_stackid_pe"? As written, "the trace object
> bpf_get_stackid_pe" parses as if the function name is the name of the
> trace object itself.

yep, will fix

jirka

> 
> 
> ---
> AI reviewed your patch. Please fix the bug or email reply why it's not a bug.
> See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md
> 
> CI run summary: https://github.com/kernel-patches/bpf/actions/runs/30854471987