diff options
| author | Andrii Nakryiko <[email protected]> | 2020-04-29 00:16:08 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-04-29 00:27:08 +0000 |
| commit | f2e10bff16a0fdd41ba278c84da9813700e356af (patch) | |
| tree | 16f010477a98090542c424315f405b2f5e3b2d44 /tools/lib/bpf/bpf.c | |
| parent | bpf: Support GET_FD_BY_ID and GET_NEXT_ID for bpf_link (diff) | |
| download | kernel-f2e10bff16a0fdd41ba278c84da9813700e356af.tar.gz kernel-f2e10bff16a0fdd41ba278c84da9813700e356af.zip | |
bpf: Add support for BPF_OBJ_GET_INFO_BY_FD for bpf_link
Add ability to fetch bpf_link details through BPF_OBJ_GET_INFO_BY_FD command.
Also enhance show_fdinfo to potentially include bpf_link type-specific
information (similarly to obj_info).
Also introduce enum bpf_link_type stored in bpf_link itself and expose it in
UAPI. bpf_link_tracing also now will store and return bpf_attach_type.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions
