bpf: Add enum support to btf_ctx_access()
It allows bpf prog (e.g. tracing) to attach to a kernel function that takes enum argument. Signed-off-by: NMartin KaFai Lau <kafai@fb.com> Signed-off-by: NAlexei Starovoitov <ast@kernel.org> Acked-by: NYonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20200109003459.3855366-1-kafai@fb.com
Showing
想要评论请 注册 或 登录