BPF List
 help / color / mirror / Atom feed
From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Jiri Olsa" <olsajiri@gmail.com>
Cc: "Anton Protopopov" <a.s.protopopov@gmail.com>,
	<bpf@vger.kernel.org>, "Daniel Borkmann" <daniel@iogearbox.net>,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Eduard Zingerman" <eddyz87@gmail.com>,
	"Kumar Kartikeya Dwivedi" <memxor@gmail.com>,
	"Martin KaFai Lau" <martin.lau@linux.dev>,
	"Song Liu" <song@kernel.org>,
	"Yonghong Song" <yonghong.song@linux.dev>,
	"Emil Tsalapatis" <emil@etsalapatis.com>,
	"Ihor Solodrai" <ihor.solodrai@linux.dev>,
	"John Fastabend" <john.fastabend@gmail.com>,
	"Viktor Malik" <vmalik@redhat.com>
Subject: Re: [PATCH v2 bpf-next 0/4] bpf: Refuse the vmlinux prototype for a module function
Date: Sat, 05 Dec 2026 17:31:33 +0000	[thread overview]
Message-ID: <DNCZ86DELEZO.SA0UEQ495IEX@gmail.com> (raw)
In-Reply-To: <axP5aOcFUGIWjwzA@krava>

On Sat, Dec 05, 2026 at 03:45 AM Jiri Olsa <olsajiri@gmail.com> wrote:
> one nit: the btf_own_func_id name seems a bit misleading to me
> when the module does not have that function we keep the vmlinux id,
> so the result is not always module's own id. Would something like
> btf_remap_func_id fit better?

Good point. btf_remap_func_id() is better.

      reply	other threads:[~2026-12-05 17:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 15:46 [PATCH v2 bpf-next 0/4] bpf: Refuse the vmlinux prototype for a module function Anton Protopopov
2026-12-04 15:47 ` [PATCH v2 bpf-next 1/4] " Anton Protopopov
2026-12-04 15:47 ` [PATCH v2 bpf-next 2/4] bpf: Refuse the vmlinux prototype for a module function in multi links Anton Protopopov
2026-12-04 15:47 ` [PATCH v2 bpf-next 3/4] libbpf: Look up the functions of a module first Anton Protopopov
2026-12-05 11:45   ` Jiri Olsa
2026-12-04 15:47 ` [PATCH v2 bpf-next 4/4] selftests/bpf: Test a vmlinux function ID with the BTF of a module Anton Protopopov
2026-12-05  3:47 ` [PATCH v2 bpf-next 0/4] bpf: Refuse the vmlinux prototype for a module function Alexei Starovoitov
2026-12-05 11:45   ` Jiri Olsa
2026-12-05 17:31     ` Alexei Starovoitov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DNCZ86DELEZO.SA0UEQ495IEX@gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=a.s.protopopov@gmail.com \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=john.fastabend@gmail.com \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=olsajiri@gmail.com \
    --cc=song@kernel.org \
    --cc=vmalik@redhat.com \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox