On 24/6/26 06:45, Andrii Nakryiko wrote:
> On Mon, Jun 22, 2026 at 7:37 AM Leon Hwang <[email protected]> wrote:
>>
>> libbpf needs a reliable way to distinguish kernels that can support
>> global percpu data from those that cannot.
>>
>> Add a dedicated feature probe, so libbpf can make capability decisions
>> early and fail predictably when global percpu data is unavailable.
>>
>> Signed-off-by: Leon Hwang <[email protected]>
>> ---
>>  tools/lib/bpf/features.c        | 35 +++++++++++++++++++++++++++++++++
>>  tools/lib/bpf/libbpf_internal.h |  2 ++
>>  2 files changed, 37 insertions(+)
>>
> 
> lgtm
> 
> Acked-by: Andrii Nakryiko <[email protected]>
> 
Thanks for your review and Acked-by.

Leon


Reply via email to