diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-04-26 22:29:46 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-04-27 04:37:13 +0300 |
commit | 6709a914c8498f42b1498b3d31f4b078d092fd35 (patch) | |
tree | b62d792c4764cbf142ee1266d2eb27c511656828 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7a2fa70aaffc2f8823feca22709a00f5c069a8a9 (diff) | |
download | linux-6709a914c8498f42b1498b3d31f4b078d092fd35.tar.xz |
libbpf: Support BTF_KIND_FLOAT during type compatibility checks in CO-RE
Add BTF_KIND_FLOAT support when doing CO-RE field type compatibility check.
Without this, relocations against float/double fields will fail.
Also adjust one error message to emit instruction index instead of less
convenient instruction byte offset.
Fixes: 22541a9eeb0d ("libbpf: Add BTF_KIND_FLOAT support")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Lorenz Bauer <lmb@cloudflare.com>
Link: https://lore.kernel.org/bpf/20210426192949.416837-3-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions