]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h
authorAndrii Nakryiko <andriin@fb.com>
Sat, 29 Feb 2020 23:11:12 +0000 (15:11 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 3 Mar 2020 00:25:14 +0000 (16:25 -0800)
commitdf8ff35311c8d10d90b4604c02b32c361dc997aa
treeb8393760f038a2a900c3f565514e9b326589439e
parent396f544ed5e5a9c40de5663b774f643644cba059
libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h

Move BPF_PROG, BPF_KPROBE, and BPF_KRETPROBE macro into libbpf's bpf_tracing.h
header to make it available for non-selftests users.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200229231112.1240137-5-andriin@fb.com
16 files changed:
tools/lib/bpf/bpf_tracing.h
tools/testing/selftests/bpf/bpf_tcp_helpers.h
tools/testing/selftests/bpf/bpf_trace_helpers.h [deleted file]
tools/testing/selftests/bpf/progs/bpf_dctcp.c
tools/testing/selftests/bpf/progs/fentry_test.c
tools/testing/selftests/bpf/progs/fexit_bpf2bpf.c
tools/testing/selftests/bpf/progs/fexit_bpf2bpf_simple.c
tools/testing/selftests/bpf/progs/fexit_test.c
tools/testing/selftests/bpf/progs/kfree_skb.c
tools/testing/selftests/bpf/progs/test_attach_probe.c
tools/testing/selftests/bpf/progs/test_overhead.c
tools/testing/selftests/bpf/progs/test_perf_branches.c
tools/testing/selftests/bpf/progs/test_perf_buffer.c
tools/testing/selftests/bpf/progs/test_probe_user.c
tools/testing/selftests/bpf/progs/test_trampoline_count.c
tools/testing/selftests/bpf/progs/test_xdp_bpf2bpf.c