diff options
author | Andrii Nakryiko <[email protected]> | 2023-08-23 17:00:16 -0700 |
---|---|---|
committer | Martin KaFai Lau <[email protected]> | 2023-08-23 21:13:48 -0700 |
commit | f3bdb54f09ab4cdbca48bf7befa8997cadd8d6a1 (patch) | |
tree | 36b33878f81635dd1ed43b253f7778258eed8e04 /tools/perf/scripts/python/sctop.py | |
parent | a182e64147f7db006691c181077e456321f23bff (diff) |
libbpf: fix signedness determination in CO-RE relo handling logic
Extracting btf_int_encoding() is only meaningful for BTF_KIND_INT, so we
need to check that first before inferring signedness.
Closes: https://github.com/libbpf/libbpf/issues/704
Reported-by: Lorenz Bauer <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions