From: Eduard Zingerman <eddyz87@gmail.com>
To: Andrii Nakryiko <andrii.nakryiko@gmail.com>,
Alan Maguire <alan.maguire@oracle.com>
Cc: andrii@kernel.org, acme@redhat.com, ast@kernel.org,
daniel@iogearbox.net, jolsa@kernel.org, martin.lau@linux.dev,
song@kernel.org, yonghong.song@linux.dev,
john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com,
haoluo@google.com, mcgrof@kernel.org, masahiroy@kernel.org,
nathan@kernel.org, mykolal@fb.com, thinker.li@gmail.com,
bentiss@kernel.org, tanggeliang@kylinos.cn, bpf@vger.kernel.org
Subject: Re: [PATCH bpf-next 3/5] libbpf,bpf: share BTF relocate-related code with kernel
Date: Tue, 18 Jun 2024 16:16:14 -0700 [thread overview]
Message-ID: <05449fe120951ff8c02f96e20887348db1f505da.camel@gmail.com> (raw)
In-Reply-To: <CAEf4BzZbn9-=7w8A99hkVFT1wKZ6LicBYSu-Z54Tb-eG7r1ffQ@mail.gmail.com>
On Tue, 2024-06-18 at 15:53 -0700, Andrii Nakryiko wrote:
[...]
> > +# Some source files are common to libbpf.
> > +vpath %.c $(srctree)/kernel/bpf:$(srctree)/tools/lib/bpf
>
> this is something new, what does vpath do? (sorry if this was
> discussed before and I missed it)
I was unfamiliar with this thing as well:
https://www.gnu.org/software/make/manual/html_node/Selective-Search.html
basically it allows to add a directory to dependency search path.
An alternative would be to make a soft link, e.g. like with
./tools/testing/selftests/bpf/disasm.c
[...]
next prev parent reply other threads:[~2024-06-18 23:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 16:24 [PATCH bpf-next 0/5] bpf: resilient split BTF followups Alan Maguire
2024-06-18 16:24 ` [PATCH bpf-next 1/5] libbpf: BTF relocation followup fixing naming, loop logic Alan Maguire
2024-06-18 22:48 ` Andrii Nakryiko
2024-06-18 16:24 ` [PATCH bpf-next 2/5] module, bpf: store BTF base pointer in struct module Alan Maguire
2024-06-18 22:48 ` Andrii Nakryiko
2024-06-18 16:24 ` [PATCH bpf-next 3/5] libbpf,bpf: share BTF relocate-related code with kernel Alan Maguire
2024-06-18 22:53 ` Andrii Nakryiko
2024-06-18 23:16 ` Eduard Zingerman [this message]
2024-06-18 23:24 ` Andrii Nakryiko
2024-06-18 16:24 ` [PATCH bpf-next 4/5] kbuild,bpf: add module-specific pahole flags for distilled base BTF Alan Maguire
2024-06-18 16:24 ` [PATCH bpf-next 5/5] selftests/bpf: add kfunc_call test for simple dtor in bpf_testmod Alan Maguire
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=05449fe120951ff8c02f96e20887348db1f505da.camel@gmail.com \
--to=eddyz87@gmail.com \
--cc=acme@redhat.com \
--cc=alan.maguire@oracle.com \
--cc=andrii.nakryiko@gmail.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bentiss@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=haoluo@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kpsingh@kernel.org \
--cc=martin.lau@linux.dev \
--cc=masahiroy@kernel.org \
--cc=mcgrof@kernel.org \
--cc=mykolal@fb.com \
--cc=nathan@kernel.org \
--cc=sdf@google.com \
--cc=song@kernel.org \
--cc=tanggeliang@kylinos.cn \
--cc=thinker.li@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.