diff options
| author | Jakub Kicinski <[email protected]> | 2018-05-15 05:35:02 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-05-15 05:52:10 +0000 |
| commit | 2bf3e2ef425bc2a164f10b554b7db6a8b4090ef4 (patch) | |
| tree | 2a78c9c06062bbc0a7ea392357e49085431ab761 /samples/bpf/syscall_tp_user.c | |
| parent | Merge branch 'bpf-jit-cleanups' (diff) | |
| download | kernel-2bf3e2ef425bc2a164f10b554b7db6a8b4090ef4.tar.gz kernel-2bf3e2ef425bc2a164f10b554b7db6a8b4090ef4.zip | |
samples: bpf: include bpf/bpf.h instead of local libbpf.h
There are two files in the tree called libbpf.h which is becoming
problematic. Most samples don't actually need the local libbpf.h
they simply include it to get to bpf/bpf.h. Include bpf/bpf.h
directly instead.
Signed-off-by: Jakub Kicinski <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'samples/bpf/syscall_tp_user.c')
| -rw-r--r-- | samples/bpf/syscall_tp_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/syscall_tp_user.c b/samples/bpf/syscall_tp_user.c index 9169d3207f18..1a1d0059a277 100644 --- a/samples/bpf/syscall_tp_user.c +++ b/samples/bpf/syscall_tp_user.c @@ -16,7 +16,7 @@ #include <assert.h> #include <stdbool.h> #include <sys/resource.h> -#include "libbpf.h" +#include <bpf/bpf.h> #include "bpf_load.h" /* This program verifies bpf attachment to tracepoint sys_enter_* and sys_exit_*. |
