commit | 30687ad94e57b53dd66950ab570203dfd1f9db34 | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Thu May 24 11:21:10 2018 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu May 24 18:18:19 2018 -0700 |
tree | ca414d4f6922bf85badda4e5d5dead9624e6709e | |
parent | 41bdc4b40ed6fb26c6acc655ed9a243a348709c9 [diff] |
tools/bpf: sync kernel header bpf.h and add bpf_task_fd_query in libbpf Sync kernel header bpf.h to tools/include/uapi/linux/bpf.h and implement bpf_task_fd_query() in libbpf. The test programs in samples/bpf and tools/testing/selftests/bpf, and later bpftool will use this libbpf function to query kernel. Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>