Re: [PATCH RFC bpf-next 1/3] bpf: add mapper macro for bpf_cmd enum
From: Martin KaFai Lau <martin.lau@linux.dev>
Date: 2023-12-13 01:44:06
Also in:
bpf, linux-fsdevel, linux-security-module
From: Martin KaFai Lau <martin.lau@linux.dev>
Date: 2023-12-13 01:44:06
Also in:
bpf, linux-fsdevel, linux-security-module
On 12/11/23 8:06 PM, Alexei Starovoitov wrote:
On Mon, Dec 11, 2023 at 8:01 PM Andrii Nakryiko [off-list ref] wrote:quoted
quoted
While I can preemptively answer that in the case vmlinux BTF is not available it's fine not to parse names and rely on hex.It's fine, I can do optional BTF-based parsing, if that's what you prefer.I prefer to keep uapi/bpf.h as-is and use BTF. But I'd like to hear what Daniel's and Martin's preferences are.
I think user will find it useful to have a more readable uapi header file. It would be nice to keep the current uapi/bpf.h form if there is another solution.