diff options
author | Pu Lehui <[email protected]> | 2022-07-14 10:46:10 +0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-07-15 12:01:30 -0700 |
commit | 2e4966288c1651c22202df80142ed84dbef817b5 (patch) | |
tree | 8b3d676720d372bc3f91f7161dd7b9efc550fb50 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a2a5580fcbf808e7c2310e4959b62f9d2157fdb6 (diff) |
samples: bpf: Fix cross-compiling error by using bootstrap bpftool
Currently, when cross compiling bpf samples, the host side cannot
use arch-specific bpftool to generate vmlinux.h or skeleton. Since
samples/bpf use bpftool for vmlinux.h, skeleton, and static linking
only, we can use lightweight bootstrap version of bpftool to handle
these, and it's always host-native.
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Pu Lehui <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions