aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/hashmap.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2020-04-28 17:27:08 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-04-28 17:28:05 -0700
commit1f427a8077996f8aaefbc99e40ff3068ee627d8d (patch)
tree117f3fbc26264d8f0fc03a8c469e50b2338cbc5f /tools/testing/selftests/bpf/prog_tests/hashmap.c
parent9b329d0dbe413bf46eb5010edd06b3076960a60a (diff)
parent5d085ad2e68cceec8332b23ea8f630a28b506366 (diff)
Merge branch 'bpf_link-observability'
Andrii Nakryiko says: ==================== This patch series adds various observability APIs to bpf_link: - each bpf_link now gets ID, similar to bpf_map and bpf_prog, by which user-space can iterate over all existing bpf_links and create limited FD from ID; - allows to get extra object information with bpf_link general and type-specific information; - implements `bpf link show` command which lists all active bpf_links in the system; - implements `bpf link pin` allowing to pin bpf_link by ID or from other pinned path. v2->v3: - improve spin locking around bpf_link ID (Alexei); - simplify bpf_link_info handling and fix compilation error on sh arch; v1->v2: - simplified `bpftool link show` implementation (Quentin); - fixed formatting of bpftool-link.rst (Quentin); - fixed attach type printing logic (Quentin); rfc->v1: - dropped read-only bpf_links (Alexei); - fixed bug in bpf_link_cleanup() not removing ID; - fixed bpftool link pinning search logic; - added bash-completion and man page. ==================== Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/hashmap.c')
0 files changed, 0 insertions, 0 deletions