diff options
author | Jiri Olsa <jolsa@kernel.org> | 2020-07-11 23:53:22 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-13 19:42:02 +0200 |
commit | 33a57ce0a54d498275f432db04850001175dfdfa (patch) | |
tree | 07cbabf9b2eb8fc391f7e0c904f8cfe0f1ec8ef4 /tools/bpf | |
parent | bpf: Add resolve_btfids tool to resolve BTF IDs in ELF object (diff) | |
download | linux-33a57ce0a54d498275f432db04850001175dfdfa.tar.xz linux-33a57ce0a54d498275f432db04850001175dfdfa.zip |
bpf: Compile resolve_btfids tool at kernel compilation start
The resolve_btfids tool will be used during the vmlinux linking,
so it's necessary it's ready for it.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200711215329.41165-3-jolsa@kernel.org
Diffstat (limited to 'tools/bpf')
-rw-r--r-- | tools/bpf/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile index 6df1850f8353..74bc9a105225 100644 --- a/tools/bpf/Makefile +++ b/tools/bpf/Makefile @@ -123,5 +123,12 @@ runqslower_install: runqslower_clean: $(call descend,runqslower,clean) +resolve_btfids: + $(call descend,resolve_btfids) + +resolve_btfids_clean: + $(call descend,resolve_btfids,clean) + .PHONY: all install clean bpftool bpftool_install bpftool_clean \ - runqslower runqslower_install runqslower_clean + runqslower runqslower_install runqslower_clean \ + resolve_btfids resolve_btfids_clean |