diff options
author | Stanislav Fomichev <[email protected]> | 2022-06-28 10:43:12 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-06-29 13:21:52 -0700 |
commit | a4b2f3cf699f8ec3964722e7ef3f37f809701172 (patch) | |
tree | 2ff347dbe5293957cfcce70ba882d543b24d039c /tools/perf/scripts/python | |
parent | bffcf34878b1c16c322c6606e4a48d82bd5f7f24 (diff) |
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 <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Stanislav Fomichev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions