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

[email protected] Mon, 3 Aug 2026 22:06:21 +0000 (UTC)
Newsgroups org.kernel.vger.bpf
Message-ID <55dbe83f00c89646b6abd5b3fa35783a8601cbc6b380fb856bf53490e35faf49@mail.kernel.org>
--===============1103112330644507693==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

>     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.


---
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
--===============1103112330644507693==--