diff options
| author | Andrii Nakryiko <[email protected]> | 2020-02-29 23:11:12 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-03-03 00:25:14 +0000 |
| commit | df8ff35311c8d10d90b4604c02b32c361dc997aa (patch) | |
| tree | b8393760f038a2a900c3f565514e9b326589439e /tools/testing/selftests/bpf/bpf_tcp_helpers.h | |
| parent | selftests/bpf: Fix BPF_KRETPROBE macro and use it in attach_probe test (diff) | |
| download | kernel-df8ff35311c8d10d90b4604c02b32c361dc997aa.tar.gz kernel-df8ff35311c8d10d90b4604c02b32c361dc997aa.zip | |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_tcp_helpers.h')
| -rw-r--r-- | tools/testing/selftests/bpf/bpf_tcp_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/bpf_tcp_helpers.h b/tools/testing/selftests/bpf/bpf_tcp_helpers.h index 8f21965ffc6c..5bf2fe9b1efa 100644 --- a/tools/testing/selftests/bpf/bpf_tcp_helpers.h +++ b/tools/testing/selftests/bpf/bpf_tcp_helpers.h @@ -6,7 +6,7 @@ #include <linux/types.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_core_read.h> -#include "bpf_trace_helpers.h" +#include <bpf/bpf_tracing.h> #define BPF_STRUCT_OPS(name, args...) \ SEC("struct_ops/"#name) \ |
