diff options
author | Martin KaFai Lau <kafai@fb.com> | 2020-01-08 16:34:59 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-01-09 08:46:18 -0800 |
commit | 218b3f65f9081f5e1bffe6de5f0f4b22c935410b (patch) | |
tree | 9d66fc821e86ac07295f33718371c80390838e46 /include | |
parent | bpf: Avoid storing modifier to info->btf_id (diff) | |
download | linux-dev-218b3f65f9081f5e1bffe6de5f0f4b22c935410b.tar.xz linux-dev-218b3f65f9081f5e1bffe6de5f0f4b22c935410b.zip |
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: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200109003459.3855366-1-kafai@fb.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions