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
This commit is contained in:
committed by
Alexei Starovoitov
parent
396f544ed5
commit
df8ff35311
@@ -7,7 +7,6 @@
|
||||
|
||||
#include <bpf/bpf_helpers.h>
|
||||
#include <bpf/bpf_tracing.h>
|
||||
#include "bpf_trace_helpers.h"
|
||||
|
||||
static struct sockaddr_in old;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user