summaryrefslogtreecommitdiff
path: root/tools/perf/examples/bpf/empty.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2020-01-20 14:06:48 +0100
committerAlexei Starovoitov <ast@kernel.org>2020-01-20 16:37:45 -0800
commit521fe8bb5874963d5f6fd58d5c5ad80fbc9c6b1c (patch)
tree6a3374f202a597b0d18594cdb7d4ec39addebec0 /tools/perf/examples/bpf/empty.c
parent229c3b47b794e7257744224b21a95d3d9938d00a (diff)
perf: Use consistent include paths for libbpf
Fix perf to include libbpf header files with the bpf/ prefix, to be consistent with external users of the library. Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/157952560797.1683545.7685921032671386301.stgit@toke.dk
Diffstat (limited to 'tools/perf/examples/bpf/empty.c')
-rw-r--r--tools/perf/examples/bpf/empty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/examples/bpf/empty.c b/tools/perf/examples/bpf/empty.c
index 3776d26db9e7..7d7fb0c9fe76 100644
--- a/tools/perf/examples/bpf/empty.c
+++ b/tools/perf/examples/bpf/empty.c
@@ -1,3 +1,3 @@
-#include <bpf.h>
+#include <bpf/bpf.h>
license(GPL);