diff options
author | Stanislav Fomichev <sdf@google.com> | 2022-06-28 10:43:12 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-06-29 13:21:52 -0700 |
commit | a4b2f3cf699f8ec3964722e7ef3f37f809701172 (patch) | |
tree | 2ff347dbe5293957cfcce70ba882d543b24d039c /tools/io_uring/io_uring-bench.c | |
parent | bffcf34878b1c16c322c6606e4a48d82bd5f7f24 (diff) | |
download | linux-a4b2f3cf699f8ec3964722e7ef3f37f809701172.tar.bz2 |
libbpf: implement bpf_prog_query_opts
Implement bpf_prog_query_opts as a more expendable version of
bpf_prog_query. Expose new prog_attach_flags and attach_btf_func_id as
well:
* prog_attach_flags is a per-program attach_type; relevant only for
lsm cgroup program which might have different attach_flags
per attach_btf_id
* attach_btf_func_id is a new field expose for prog_query which
specifies real btf function id for lsm cgroup attachments
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20220628174314.1216643-10-sdf@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/io_uring/io_uring-bench.c')
0 files changed, 0 insertions, 0 deletions