diff options
author | 2020-08-13 13:49:41 -0700 | |
---|---|---|
committer | 2020-08-13 16:45:41 -0700 | |
commit | eed7818adf03e874994b966aa33bc00204dd275a (patch) | |
tree | 0134a65b8aed1982edac479c6edc59e9e8da5a51 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libbpf: Handle BTF pointer sizes more carefully (diff) | |
download | wireguard-linux-eed7818adf03e874994b966aa33bc00204dd275a.tar.xz wireguard-linux-eed7818adf03e874994b966aa33bc00204dd275a.zip |
selftests/bpf: Fix btf_dump test cases on 32-bit arches
Fix btf_dump test cases by hard-coding BPF's pointer size of 8 bytes for cases
where it's impossible to deterimne the pointer size (no long type in BTF). In
cases where it's known, validate libbpf correctly determines it as 8.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200813204945.1020225-6-andriin@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions