Re: [PATCH] perf build: Support passing extra Clang options via EXTRA_BPF_FLAGS
From: hupu
Date: Mon Nov 24 2025 - 02:26:54 EST
Hi Leo and Namhyung,
On Fri, Nov 21, 2025 at 6:17 PM hupu <hupu.gm@xxxxxxxxx> wrote:
> > > >
> > > > As an additional suggestion, I’d prefer to keep both the above patch
> > > > and the previously discussed PATCH v3, which would mean submitting two
> > > > PRs. From my perspective, allowing users to pass custom compilation
> > > > options via EXTRA_BPF_FLAGS is more flexible than only configuring
> > > > headers, so I’d like to hear your thoughts.
> >
> > Yep, I'm ok with the extra flag variable.
> >
> > Thanks,
> > Namhyung
> >
>
> Leo, what are your thoughts on this? I’d appreciate hearing your suggestions.
>
Based on our previous discussion, I have prepared two PATCHes. In this
email, let’s continue our discussion on whether we should use the
extra flag variable. For the topic of using the kernel’s native
self-contained headers, please refer to my other email at the link
below.
https://lore.kernel.org/all/20251124072310.3592-1-hupu.gm@xxxxxxxxx/
Thanks,
hupu