diff options
author | 2021-04-13 21:00:43 +0200 | |
---|---|---|
committer | 2021-04-13 14:34:27 -0700 | |
commit | db16c1fe92d7ba7d39061faef897842baee2c887 (patch) | |
tree | 3e9dd11dd9475f029f1b0c249c1e92e2e4b6852a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libbpf: Clarify flags in ringbuf helpers (diff) | |
download | wireguard-linux-db16c1fe92d7ba7d39061faef897842baee2c887.tar.xz wireguard-linux-db16c1fe92d7ba7d39061faef897842baee2c887.zip |
bpf: Generate BTF_KIND_FLOAT when linking vmlinux
pahole v1.21 supports the --btf_gen_floats flag, which makes it
generate the information about the floating-point types [1].
Adjust link-vmlinux.sh to pass this flag to pahole in case it's
supported, which is determined using a simple version check.
[1] https://lore.kernel.org/dwarves/YHRiXNX1JUF2Az0A@kernel.org/
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210413190043.21918-1-iii@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions