libbpf: Add support for command BPF_ENABLE_STATS

bpf_enable_stats() is added to enable given stats.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200430071506.1408910-3-songliubraving@fb.com
This commit is contained in:
Song Liu
2020-04-30 00:15:05 -07:00
committed by Andrii Nakryiko
parent 83f269b088
commit 5c1c96c579
3 changed files with 12 additions and 0 deletions

View File

@@ -257,6 +257,7 @@ LIBBPF_0.0.8 {
LIBBPF_0.0.9 {
global:
bpf_enable_stats;
bpf_link_get_fd_by_id;
bpf_link_get_next_id;
} LIBBPF_0.0.8;