diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2020-01-20 14:06:48 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-01-21 01:37:45 +0100 |
commit | 521fe8bb5874963d5f6fd58d5c5ad80fbc9c6b1c (patch) | |
tree | 6a3374f202a597b0d18594cdb7d4ec39addebec0 /tools/perf/include/bpf/unistd.h | |
parent | bpftool: Use consistent include paths for libbpf (diff) | |
download | linux-521fe8bb5874963d5f6fd58d5c5ad80fbc9c6b1c.tar.xz linux-521fe8bb5874963d5f6fd58d5c5ad80fbc9c6b1c.zip |
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/include/bpf/unistd.h')
-rw-r--r-- | tools/perf/include/bpf/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/include/bpf/unistd.h b/tools/perf/include/bpf/unistd.h index ca7877f9a976..d1a35b6c649d 100644 --- a/tools/perf/include/bpf/unistd.h +++ b/tools/perf/include/bpf/unistd.h @@ -1,6 +1,6 @@ // SPDX-License-Identifier: LGPL-2.1 -#include <bpf.h> +#include <bpf/bpf.h> static int (*bpf_get_current_pid_tgid)(void) = (void *)BPF_FUNC_get_current_pid_tgid; |