]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
selftests/bpf: add btf annotations for cgroup_local_storage maps
authorRoman Gushchin <guroan@gmail.com>
Mon, 10 Dec 2018 23:43:02 +0000 (15:43 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 12 Dec 2018 23:33:44 +0000 (15:33 -0800)
commit8f9a8a61931197d32ae31960f4179ff60ccbe3db
tree5293f8968ed542f9e6b3089ba6952e754b5d1569
parent9a1126b63190e2541dd5d643f4bfeb5a7f493729
selftests/bpf: add btf annotations for cgroup_local_storage maps

Add btf annotations to cgroup local storage maps (per-cpu and shared)
in the network packet counting example.

Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/netcnt_prog.c